Apache Blank Pages

2010-01-12 Thread cfaust-dougot
Hello, I have a bizarre problem I'm hoping someone could give me some suggestions with. I have a couple of MP2 scripts running on a server, they are both similar in use of modules and structure. Without any recent changes, one of the scripts is producing a blank apache page on SOME requests.

Re: Apache Blank Pages

2010-01-12 Thread William T
It seems pretty clear the blank pages are from the apache children dieing badly (hence the errors). I would make an educated guess based on the malloc error that your ram is bad. Try running your app on a different box and see if you get the same errors. On Jan 12, 2010 7:19 AM, "cfaust-dougot"

RE: Apache Blank Pages

2010-01-12 Thread cfaust-dougot
11:47 AM To: cfaust-dougot Cc: modperl@perl.apache.org Subject: Re: Apache Blank Pages It seems pretty clear the blank pages are from the apache children dieing badly (hence the errors). I would make an educated guess based on the malloc error that your ram is bad. Try running your app

Re: Apache Blank Pages

2010-01-13 Thread 陈建春
what is your apache's mpm? worker or prefork? Our site sometimes also rise similar error(like glibc detected ... in error log ) under worker mpm. *陈建春 | ChenJianchun* 傲游Web应用部 E-mail: chen...@maxthon.net *Maxthon^® * --每个人的互联网中心! 上网从傲游开始! 傲游天下科技有限公司(中国)

RE: Apache Blank Pages

2010-01-13 Thread cfaust-dougot
_ From: ??? [mailto:chen...@maxthon.net] Sent: Wed 1/13/2010 7:08 AM To: cfaust-dougot Cc: modperl@perl.apache.org Subject: Re: Apache Blank Pages what is your apache's mpm? worker or prefork? Our site sometimes also rise similar error(like glibc detected ... in error log )

RE: Apache Blank Pages

2010-01-13 Thread cfaust-dougot
___ From: ??? [mailto:chen...@maxthon.net] Sent: Wed 1/13/2010 7:08 AM To: cfaust-dougot Cc: modperl@perl.apache.org Subject: Re: Apache Blank Pages what is your apache's mpm? worker or prefork? Our site sometimes also rise similar error(like glibc detected ... in error log ) under

Re: Apache Blank Pages

2010-01-13 Thread Perrin Harkins
On Wed, Jan 13, 2010 at 7:28 AM, cfaust-dougot wrote: > If I try to connect to a DB in that 2nd virtual host I have the problem. If > I make no connection then there is no problem. Also if I connect to the same > DB that the 1st virtual host does, then there is no problem. It's only when > I try t

RE: Apache Blank Pages

2010-01-13 Thread cfaust-dougot
?; modperl@perl.apache.org Subject: Re: Apache Blank Pages On Wed, Jan 13, 2010 at 7:28 AM, cfaust-dougot wrote: > If I try to connect to a DB in that 2nd virtual host I have the problem. If > I make no connection then there is no problem. Also if I connect to the same > DB that the 1st virtual host

Re: Apache Blank Pages

2010-01-13 Thread Perrin Harkins
On Wed, Jan 13, 2010 at 5:31 PM, cfaust-dougot wrote: > Do you mean on apache startup? I'm not calling DBI or DBD in startup.pl. Any > other module would be after the fork, wouldn't? Some modules (e.g. Class::DBI) will open a connection when you use them. If you're loading any modules at all in

RE: Apache Blank Pages

2010-01-13 Thread cfaust-dougot
__ From: Perrin Harkins [mailto:phark...@gmail.com] Sent: Wed 1/13/2010 5:36 PM To: cfaust-dougot Cc: modperl@perl.apache.org Subject: Re: Apache Blank Pages On Wed, Jan 13, 2010 at 5:31 PM, cfaust-dougot wrote: > Do you mean on apache startup? I'm not calling DBI or DBD in star

Re: Apache Blank Pages

2010-01-14 Thread Perrin Harkins
On Wed, Jan 13, 2010 at 5:52 PM, cfaust-dougot wrote: > Below is what I currently call in startup, by any chance does anything pop > out at you? Nope, those all look fine to me. > Other wise I'll start going though them one at a time. A binary search is good for this sort of thing. - Perrin

RE: Apache Blank Pages

2010-01-14 Thread cfaust-dougot
c: modperl@perl.apache.org Subject: Re: Apache Blank Pages On Wed, Jan 13, 2010 at 5:52 PM, cfaust-dougot wrote: > Below is what I currently call in startup, by any chance does anything pop > out at you? Nope, those all look fine to me. > Other wise I'll start going though them one at a t

Re: Apache Blank Pages

2010-01-14 Thread Perrin Harkins
On Thu, Jan 14, 2010 at 6:20 PM, cfaust-dougot wrote: > Long story short, I'm in the process of moving to another machine. I wanted > to ask you though, is there any modules I should stay away from loading in > startup.pl? Should DBI and DBD be loaded within each script and not within > startup?