4

The message is from mod_python, telling you that it was compiled with Python 2.6.5 but the system's Python installation is 2.6.6. It will still work regardless of the version mismatch. Anyway, mod_python hasn't seen any development in a number of years and has been deprecated by most projects in favour of alternatives like mod_wsgi.


4

To answer your question you can set net.netfilter.nf_conntrack_tcp_timeout_established in sysctl.conf The default is like 5 days, which can be dramatically lowered with out affecting any likely 443 traffic. net.ipv4.netfilter.ip_conntrack_max can also be bumped up.


2

remove leaked semaphores that are no longer used ipcs -s | perl -ane '/^0x00000000/ && `ipcrm -s $F[1]`' increase the available semaphores echo “kernel.sem = 512 32000 100 512″ >> /etc/sysctl.conf; sysctl -p


1

The 'error' is just a notice by the mod_python module when it starts. You can disregard it of if you are not using the python module you can unistall it with a2dismod python . When Apache reaches its MaxClient settings then it doesn't serve new user connections until previous ones are freed. You can raise the MaxClient setting and reload/restart Apache and ...


1

Check it out. "Similarly to pfctl(8), py-pf sends commands to the kernel through the ioctl(2) interface provided by the pf(4) pseudo-device; this allows Python to natively communicate with the kernel, thanks to the fcntl and ctypes modules, with no need to write a specific C extension module." So, check permissions in pf pseudo-device by user running ...


1

You need to use sudo to run pfctl from your web application and you need to add the "apache" user to the sudoers file with the rights to run pfctl without asking for a password. NOTE: To modify your sudoers file use the command visudo as root, or an account with elevated privileges to do so. You might also not want to use the obsolete mod_python way of ...


1

The solution for me, was: re-installing a new version of Python and the other needed modules inside the new Python site-packages folder. (when you've tried everything and seems that doesn't work try to re-install a new version of python and don't use the default one) Follow this link to see the various steps..: solution


1

Both can run in embedded mode, but only mod_wsgi can run in daemonmode. Mod_wsgi is also written in C, so it has less overhead than mod_python (meaning lower memory/cpu footprint). Another reason to use mod_wsgi over python is that mod_python is dead.


Only top voted, non community-wiki answers of a minimum length are eligible