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

Bug#449027: vserver: [notice] child pid 27907 exit signal Segmentation fault (11)



I catched a new created apache pid 7963 by observe `watch -n 0 ps axuf`, 
and used it instantly by strace -p. That way I was able to catch an 
strace output of the segfault, it looks similar to the strace in the 
polish thread, I mentioned in the first post of this bugreport:

# strace -p 7963
Process 7963 attached - interrupt to quit
read(14, "", 4096)                      = 0
time(NULL)                              = 1194018666
close(14)                               = 0
rt_sigaction(SIGUSR1, {0x805d550, [], SA_RESTORER|SA_INTERRUPT, 
0xb7fb5668}, {0x805d550, [], SA_RESTORER|SA_INTERRUPT, 0xb7fb5668}, 8) 
= 0
accept(24, 0xbfffdb3c, [16])            = ? ERESTARTSYS (To be 
restarted)
--- SIGUSR1 (User defined signal 1) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGHUP, {SIG_IGN}, {0x805d520, [], SA_RESTORER|
SA_INTERRUPT, 0xb7fb5668}, 8) = 0
rt_sigaction(SIGUSR1, {SIG_IGN}, {0x805d550, [], SA_RESTORER|
SA_INTERRUPT, 0xb7fb5668}, 8) = 0
munmap(0xb507f000, 26144)               = 0
munmap(0xb505a000, 67016)               = 0
munmap(0xb5027000, 206984)              = 0
munmap(0xb50d4000, 14520)               = 0
munmap(0xb5073000, 43364)               = 0
munmap(0xb50d8000, 39328)               = 0
munmap(0xb5086000, 302320)              = 0
munmap(0xb513b000, 19652)               = 0
munmap(0xb5140000, 61424)               = 0
munmap(0xb50e2000, 349180)              = 0
munmap(0xb51b2000, 22148)               = 0
munmap(0xb514f000, 371720)              = 0
munmap(0xb51b8000, 22696)               = 0
munmap(0xb51be000, 26500)               = 0
munmap(0xb51c5000, 79932)               = 0
munmap(0xb51d9000, 60320)               = 0
munmap(0xb51e8000, 102048)              = 0
munmap(0xb5201000, 48032)               = 0
munmap(0xb5290000, 10172)               = 0
munmap(0xb520d000, 292496)              = 0
munmap(0xb5293000, 34492)               = 0
munmap(0xb525d000, 184704)              = 0
munmap(0xb52fb000, 38828)               = 0
munmap(0xb52be000, 216860)              = 0
munmap(0xb52b2000, 46128)               = 0
munmap(0xb529c000, 87656)               = 0
munmap(0xb53d3000, 93280)               = 0
munmap(0xb530d000, 777552)              = 0
munmap(0xb5305000, 32656)               = 0
munmap(0xb7394000, 105012)              = 0
munmap(0xb53ea000, 338392)              = 0
munmap(0xb740c000, 1103908)             = 0
munmap(0xb73ae000, 199356)              = 0
munmap(0xb7210000, 194988)              = 0
munmap(0xb71a2000, 448812)              = 0
munmap(0xb6b58000, 4734240)             = 0
munmap(0xb6425000, 4061756)             = 0
munmap(0xb6b4a000, 54144)               = 0
munmap(0xb6864000, 1050988)             = 0
munmap(0xb7185000, 118380)              = 0
munmap(0xb6ac5000, 327512)              = 0
munmap(0xb63d8000, 313404)              = 0
munmap(0xb63b6000, 137184)              = 0
munmap(0xb6317000, 649292)              = 0
munmap(0xb62bb000, 343680)              = 0
munmap(0xb7165000, 130444)              = 0
munmap(0xb5f0d000, 175460)              = 0
munmap(0xb70fb000, 433700)              = 0
munmap(0xb70d8000, 140716)              = 0
munmap(0xb70c8000, 63836)               = 0
munmap(0xb6fdc000, 966364)              = 0
munmap(0xb6b15000, 215388)              = 0
munmap(0xb5ded000, 1150492)             = 0
munmap(0xb69e0000, 935588)              = 0
munmap(0xb69d5000, 44292)               = 0
munmap(0xb69c2000, 76836)               = 0
munmap(0xb6971000, 331368)              = 0
munmap(0xb696d000, 14568)               = 0
munmap(0xb696a000, 10164)               = 0
munmap(0xb6965000, 19604)               = 0
munmap(0xb6805000, 385804)              = 0
munmap(0xb6285000, 219048)              = 0
munmap(0xb630f000, 30512)               = 0
munmap(0xb6112000, 1519016)             = 0
munmap(0xb5f38000, 1940000)             = 0
munmap(0xb5f06000, 26584)               = 0
munmap(0xb543d000, 10156124)            = 0
close(4)                                = 0
close(12)                               = 0
close(3)                                = 0
munmap(0xb2027000, 50331648)            = 0
munmap(0xb751a000, 92272)               = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
chdir("/tmp")                           = 0
rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
kill(7963, SIGSEGV)                     = 0
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 7963 detached

Could it be, that the processes are stopped by MaxSpareServers in 
httpd.conf ?

# egrep '(SpareServers|StartServers)'  /etc/apache/httpd.conf |
egrep -v '#'
MinSpareServers 1 
MaxSpareServers 4 
StartServers 2 

These values are due to the terrible resource limit of this vserver...

I hope that I used the debug options the right way.

I may upgrade to apache 2.2, but I'm not sure if the requirements fit my 
vserver capabilities.




Reply to: