[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] PreFork causes errors
Quoting Bill Carr (bill@worldwideimpact.com):
> IC 4.8.3, PERL 5.6.1, Linux-2.4.16
>
> I can not set PreFork to Yes on my production machines without creating
> periodic (about 9 out of 10) Internal Server errors. I see "...index
> Died in server spawn: DBD:mysq:st execute failed: MySQL server has gone
> away at (eval 55) line 18." in /var/log/interchange/error.log. I have
> had this problem as long as I have known about PreFork (around 4.8.1).
>
> On my development machine it is not a problem.
>
> The devolopment machine is almost identical to the production machines.
> The only difference that I can think of is that the production machines
> are behind a LVS-NAT.
>
> Any ideas? I have the idea that setting PreFork will improve
> performance. Should I just not care?
Hmm.
Try changing the call to connect() in Vend::Table::DBI::open to
connect_cached() and see if this goes away...
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
If you think nobody cares if you're alive, try missing a couple of
car payments. -- Earl Wilson