krb
krb

Reputation: 16325

PHP and persistent connections

Whenever I open a persistent connection to the DB , if the DB daemon crashes and is then restarted, 30% of new connections to the daemon will result in a broken pipe error.

This is fixable by changing the persistent connection handle, but it needs to be done manually. Is there a solution that can fix the broken pipe errors without changing the handle?

Upvotes: 0

Views: 517

Answers (1)

Alex
Alex

Reputation: 6470

Your problem is with

DB daemon crashes and is then restarted

This is what you need to fix... Look through the logs to find the problem...

Finding alternative fix is equivalent of applying a bandage on a broken arm. alt text

Upvotes: 2

Related Questions