After I upgraded apache + mom_peruser (gentoo) I started getting seg
faults that weren't recovering and eventually would lead to the server
not responding (I guess it ran out of children) but in my cause as
pointed out here as a possible cause it was fcgid.  Since I wasn't using
it at the time I just disabled it and I seem to be fine.  That was just
me though.

- Dan Ballard

On Tue, 2006-08-08 at 18:52 +0300, Janno Sannik wrote: 
> keepalive is off
> i'm actually using:
> 2x peruser apaches (new system)
> 1x admin (standard) apache
> 1x old legacy standard apache  running fcgi mode php5 and php4 (old system)
> 
> now why 2 apache peruser servers:
> 1x peruser apache /w php4 module
> 1x peruser apache /w php5 module and  php4, php5 in fcgi mode depending 
> on client's wishes.
> 
> all that is manageable from phpbased frontend.
> the point is to create secure, flexible and fast WebHostingSystem (left 
> to right , highest priority first)
> 
> I'm tired with clitches in fcgi implementation (some weird random 
> internal server errors and segmentation fault in case of serios php 
> error, and long delay after that (because php server has crashed and it 
> needs to be started again?)). It has got quite a slow response time then 
> it hit's a domain what has not been used for some time (peruser seem to 
> create those processes quite quickly).
> Additionaly htaccess related stuff is not working in fcgi mode.
> 
> I'm not familiar with metuxmpm ways and gotchas so i can't really say 
> if  peruser is better or worse solution than metuxmpm.
> I remember that couple of years ago i tried to compile metuxmpm and get 
> php to be thread safe. I had to left out some additional modules which 
> weren't thread safe and probably some lack on knowledge put breaks on 
> me. So I really didn't get to that point where  i could see php info page :(
> 
> 
> Janno
> 
> Malte Jan 'Schnneggerich' Kaffenberger wrote:
> > something else: did you just switched off KeepAlive? and something 
> > else: if you dont have a good reason to use perusermpm just try metux 
> > mpm, you are using fastcgi and so you could use a stable and threaded 
> > mpm... give it a thought
> >
> > Greeting from Germany
> >
> > Am 07.08.2006, 22:36 Uhr, schrieb Janno Sannik <[EMAIL PROTECTED]>:
> >
> >> Well, didn't have to wait for long. 6 minutes after compile it 
> >> segfaulted and yes: ERROR: unable to create connection.
> >>
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) child_main(): input available ... resetting socket.
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) receive_from_multiplexer(): receiving from sock_fd=153
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) receive_from_multiplexer(): recvmsg returned 496
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) receive_from_multiplexer(): trans_sock=159955392 fdx=5 
> >> sock_fd=5
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) receive_from_multiplexer(): header_len=487 headers="GET 
> >> /images/xservumini.gif HTTP/1.1...
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) receive_from_multiplexer(): header_len > 0, we got a request
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) receive_from_multiplexer(): There is no body
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) receive_from_multiplexer(): returning 0
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) child_main(): CHECKING IF WE SHOULD CLONE A CHILD...
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) child_main(): total_processors = 8, max_processors = 8
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) child_main(): idle_processors = 5, min_free_processors = 2
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) child_main(): marked jmpbuffer
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) child_main(): calling process_socket()
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) process_socket(): Creating dummy connection to use the 
> >> vhost lookup api
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) process_socket(): ERROR: unable to create connection
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14623 uid=5010 
> >> child=59) process_socket(): Looking up the right vhost
> >> [Mon Aug 07 23:18:16 2006] [warn] (peruser: pid=14584 uid=5010 
> >> child=54) child_main(): returned from process_socket()
> >> [Mon Aug 07 23:18:17 2006] [notice] child pid 14623 exit signal 
> >> Segmentation fault (11)
> >>
> >> for frequency here's the cutout of segfaults log:
> >> [Sun Aug 06 00:23:10 2006] [notice] child pid 13446 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 00:24:04 2006] [notice] child pid 13704 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 10:07:29 2006] [notice] child pid 12883 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 12:37:48 2006] [notice] child pid 10475 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 12:37:48 2006] [notice] child pid 15299 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 15:44:26 2006] [notice] child pid 15106 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 16:55:26 2006] [notice] child pid 11350 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 19:01:39 2006] [notice] child pid 7308 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 19:17:21 2006] [notice] child pid 26403 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 19:55:25 2006] [notice] child pid 32178 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 20:59:11 2006] [notice] child pid 24765 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 20:59:11 2006] [notice] child pid 27355 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 21:48:29 2006] [notice] child pid 29005 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:39 2006] [notice] child pid 31210 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:39 2006] [notice] child pid 6415 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:39 2006] [notice] child pid 6416 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:39 2006] [notice] child pid 6417 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:39 2006] [notice] child pid 6418 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:39 2006] [notice] child pid 6419 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:40 2006] [notice] child pid 6420 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:40 2006] [notice] child pid 6423 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:40 2006] [notice] child pid 6424 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:43 2006] [notice] child pid 6425 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:43 2006] [notice] child pid 6448 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:43 2006] [notice] child pid 6449 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:43 2006] [notice] child pid 6450 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:43 2006] [notice] child pid 6451 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:43 2006] [notice] child pid 6452 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:44 2006] [notice] child pid 6453 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:13:44 2006] [notice] child pid 6460 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:35:12 2006] [notice] child pid 13088 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:35:17 2006] [notice] child pid 30506 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:35:18 2006] [notice] child pid 6461 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:35:32 2006] [notice] child pid 16520 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:39:42 2006] [notice] child pid 16856 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:39:42 2006] [notice] child pid 18097 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 22:43:58 2006] [notice] child pid 18098 exit signal 
> >> Segmentation fault (11)
> >> [Sun Aug 06 23:19:17 2006] [notice] child pid 20463 exit signal 
> >> Segmentation fault (11)
> >>
> >> And sometimes it segfaults really hard:
> >> [Mon Aug 07 08:27:55 2006] [notice] child pid 4512 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 08:34:59 2006] [notice] child pid 4513 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:04:48 2006] [notice] child pid 6322 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:04:48 2006] [notice] child pid 14200 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:35 2006] [notice] child pid 19331 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:35 2006] [notice] child pid 23990 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:35 2006] [notice] child pid 23991 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:35 2006] [notice] child pid 23992 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:37 2006] [notice] child pid 23993 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:39 2006] [notice] child pid 24008 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:39 2006] [notice] child pid 24026 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:40 2006] [notice] child pid 24027 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:40 2006] [notice] child pid 24036 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:41 2006] [notice] child pid 24037 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:41 2006] [notice] child pid 24042 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:41 2006] [notice] child pid 24043 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:41 2006] [notice] child pid 24044 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:41 2006] [notice] child pid 24045 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:42 2006] [notice] child pid 24046 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:43 2006] [notice] child pid 24050 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:43 2006] [notice] child pid 24051 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:43 2006] [notice] child pid 24052 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:43 2006] [notice] child pid 24053 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:43 2006] [notice] child pid 24054 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:44 2006] [notice] child pid 24055 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:44 2006] [notice] child pid 24062 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:44 2006] [notice] child pid 24063 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:44 2006] [notice] child pid 24064 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:44 2006] [notice] child pid 24065 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:44 2006] [notice] child pid 24066 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:44 2006] [notice] child pid 24069 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:44 2006] [notice] child pid 24071 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:44 2006] [notice] child pid 24072 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:44 2006] [notice] child pid 24073 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:45 2006] [notice] child pid 24074 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:45 2006] [notice] child pid 24080 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:45 2006] [notice] child pid 24081 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:45 2006] [notice] child pid 24082 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:31:45 2006] [notice] child pid 24083 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:49:05 2006] [notice] child pid 23940 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:53:59 2006] [notice] child pid 24084 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:59:09 2006] [notice] child pid 32662 exit signal 
> >> Segmentation fault (11)
> >> [Mon Aug 07 09:59:09 2006] [notice] child pid 2052 exit signal 
> >> Segmentation fault (11)
> >>
> >> Thanks for help,
> >>
> >> Janno
> >>
> >> Stefan Seufert wrote:
> >>> Hi Janno,
> >>>
> >>> thank you for the detailed bug report. I've looked at the source and
> >>> suspect that we were unable to create a connection. Can you apply the
> >>> attached patch? I only adds a debug message and won't make the 
> >>> segfaults
> >>> go away but it will help us to track down the problem.
> >>>
> >>> Thanks,
> >>>
> >>> Stefan
> >>>   
> >>> ------------------------------------------------------------------------ 
> >>>
> >>>
> >>> _______________________________________________
> >>> Peruser mailing list
> >>> [email protected]
> >>> http://www.telana.com/mailman/listinfo/peruser
> >>>
> >>
> >> _______________________________________________
> >> Peruser mailing list
> >> [email protected]
> >> http://www.telana.com/mailman/listinfo/peruser
> >
> >
> >
> > --Mit freundlichen Grüßen
> > Malte Jan "Schneggerich" Kaffenberger
> > http://schneggerich.net
> > ---
> > Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
> > Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html
> > _______________________________________________
> > Peruser mailing list
> > [email protected]
> > http://www.telana.com/mailman/listinfo/peruser
> >
> 
> _______________________________________________
> Peruser mailing list
> [email protected]
> http://www.telana.com/mailman/listinfo/peruser

_______________________________________________
Peruser mailing list
[email protected]
http://www.telana.com/mailman/listinfo/peruser

Reply via email to