Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: apache - (34)Result too large or too small



Mihai Chelaru wrote:
bsd-xen%roguewrt.org@localhost wrote:
Since updating last night, apache has been complaining about
"Result too large or too small" where mod_rewrite and SSLMutex are
concerned.

No amount of config tweaking or recompiling seems to help.

Any ideas?

apache-2.2.11nb1    Apache HTTP (Web) server, version 2

NetBSD sammy.internal 5.99.7 NetBSD 5.99.7 (XEN3_DOMU) #0: Sun Feb 15 00:54:47 EST 2009 root%spike.internal@localhost:/usr/obj/sys/arch/amd64/compile/XEN3_DOMU amd64

Kernel and userland are in sync.


Can you check exactly what fails with ERANGE ? Is it a semctl call ?

I'm a complete noob so if this isn't what you were after, you might have to do a bit of hand holding:

11719      1 httpd    CALL  __fstat50(0x22,0x7f7fffff8c00)
 11719      1 httpd    RET   __fstat50 0
 11719      1 httpd    CALL  mmap(0,0x10be,1,1,0x22,0,0)
 11719      1 httpd    RET   mmap 140187698839552/0x7f7ffdfdc000
 11719      1 httpd    CALL  close(0x22)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  munmap(0x7f7ffdfdc000,0x10be)
 11719      1 httpd    RET   munmap 0
 11719      1 httpd    CALL  write(2,0x7f7fffffb5a0,0x74)
 11719      1 httpd    GIO   fd 2 wrote 116 bytes
"[Tue Feb 17 15:19:32 2009] [crit] (34)Result too large or too small: m\
        od_rewrite: could not create rewrite_log_lock\n"
 11719      1 httpd    RET   write 116/0x74
 11719      1 httpd    CALL  write(2,0x7f7fffffb650,0x15)
 11719      1 httpd    GIO   fd 2 wrote 21 bytes
       "Configuration Failed\n"
 11719      1 httpd    RET   write 21/0x15
 11719      1 httpd    CALL  __select50(0,0,0,0,0x7f7fffffd720)
 11719      1 httpd    RET   __select50 0
 11719      1 httpd    CALL  close(0x21)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x20)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x1f)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x1e)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x1d)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x1c)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x1b)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x1a)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x19)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x18)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x17)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x16)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x15)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x14)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x13)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x12)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x11)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0x10)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0xf)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0xe)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0xd)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0xc)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0xb)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(0xa)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(9)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  munmap(0x7f7ffba00000,0x461000)
 11719      1 httpd    RET   munmap 0
 11719      1 httpd    CALL  munmap(0x7f7ffb700000,0x244000)
 11719      1 httpd    RET   munmap 0
 11719      1 httpd    CALL  _ksem_close(1)
 11719      1 httpd    RET   _ksem_close -1 errno 22 Invalid argument
 11719      1 httpd    CALL  close(8)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(7)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(6)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(5)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  close(4)
 11719      1 httpd    RET   close 0
 11719      1 httpd    CALL  exit(1)

I looked for ERANGE but couldn't find it. I'm hoping the invalid argument bit is what you are after :)

Sarton


Home | Main Index | Thread Index | Old Index