Hi,

I've recently rebuild one of instalaltions to the following:

1. Dual Quad Core, 4GB RAM (helioos): Runs apache with Midgard 1.8.4 and MidCOM 2.8 and few other non midgard sites that are not too heavy. It has NFS mounted /var/www with docroots and NFS monuter /usr/share/pear/midcom.

2. Dual Core2Duo, 4GB RAM (dragoon): Runs mainly SQL for helioos and few sites that are mostly intranet like sites for managing data used by sites run od helioos. It exports /var/www and /usr/share/pear/midcom for helioos.

Problems (serveral):

1. On dragoon, lots of mysql messages like:

Aborted connection 1179872 to db: 'vox_bw' user: 'midgard' host: 'helioos' (Got timeout reading communication packets) Aborted connection 1179872 to db: 'vox_bw' user: 'midgard' host: 'helioos' (Got an error reading communication packets)

same time I got in helioos' apache log:

PHP Warning: (pid:8626): \n\nQUERY: \n SELECT (some query about midgard objects) FAILED: \n MySQL server has gone away (some midcom classes) on line xxx

Which mean that some resuests to Midgard sites are lost.

2. On helioos, a variety of:

[apc-error] apc_fcntl_lock failed: Resource deadlock avoided
...
midgard-lib-ERROR **: Midgard: mgd_select_db(vox_bw) failed: MySQL server has gone away (1)
aborting...
[Fri Oct 19 07:43:54 2007] [notice] child pid 8492 exit signal Aborted (6)
...

3. Finally, sometimes apache on helioos hangs, spawnig hundreds of children that all say:

[notice] child pid 29937 exit signal Segmentation fault (11)

The only remedy I found so far is apache restart on helioos, but it's not an option.

The configuration:

apache on helioos (prefork MPM):

EnableMMAP off
EnableSendfile off
KeepAlive On
MaxKeepAliveRequests 200
KeepAliveTimeout 1
StartServers       40
MinSpareServers    10
MaxSpareServers   20
ServerLimit      5000
MaxClients       5000
MaxRequestsPerChild  4000

exports on dragoon:

/var/www        x.x.x.x(rw,wdelay,no_root_squash,no_subtree_check)
/usr/share/pear/midcom x.x.x.x(rw,wdelay,no_root_squash,no_subtree_check)

fstab on helioos

dragoon:/var/www/ /var/www nfs rw,nolock,noatime,nfsvers=3,rsize=8192,wsize=8192,hard,intr 0 0 dragoon:/usr/share/pear/midcom /usr/share/pear/midcom nfs rw,nolock,noatime,nfsvers=3,rsize=8192,wsize=8192,hard,intr 0 0

I tried to find some clues on google but no success. Anyone, please? :)

Solt
_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to