We run Apache on a FreeBSD system, it has multple web apps on it (Wordpress, Magento, custom PHP). As the traffic increases, we see more and more httpd processes in status "lockf" (using 'top'). The server load increases until we have to restart Apache.
As I understand this state Apache waits for a file lock. But how can we find out which file(s) are to be locked / cause the bottleneck? Without that information, it seems very hard to tackle the problem.