Saturday, February 16, 2013

Windows share locks up when php-fpm tries to access it

I have Ubuntu Desktop 12.10 running in VMware on my Windows 7 machine for development purposes. The VM is set up as "bridged", so effectively, it looks like it is directly connected to the same switch as my host PC.

Inside Ubuntu, I have compiled and install PHP 5.4.11 and nginx 1.2.6. PHP is compiled and configured to use PHP-FPM.

I also mounted a shared folder from my host using this:

//192.168.1.3/webfiles /webfiles cifs username=user,password=password,noserverino,file_mode=0777,dir_mode=0777 0 0  

This folder is then served by nginx and php-fpm.

Previously this has worked perfectly and is quite fast. However, yesterday, I installed software updates on my Ubuntu VM since the reminder kept popping up. The VM seemed fine as I was still able to work on it with out any issues last night.

This morning, I booted up the VM and was able to browse the shares in nautilus. However, once I visit a PHP page, the share would lock up for no reason! Nginx just shows a gateway timed out message and there was nothing relevant in the PHP logs.

I am at lost as to how this could have happened as the setup has worked fine for many months. I would like to further investigate the root of this problem to fix it.

Are there any logs for the samba share on Ubuntu I can inspect to do this? Has anyone had similar issues?

Currently, these are all I have in the logs:

log.wb-UBUNTU:

[2013/02/15 13:32:56.384600,  0] winbindd/winbindd.c:212(winbindd_sig_term_handler)   Got sig[15] terminate (is_parent=0) 

log.winbindd:

[2013/02/15 13:33:49.710128,  0] winbindd/winbindd_cache.c:3147(initialize_winbindd_cache)   initialize_winbindd_cache: clearing cache and re-creating with version number 2 

Source: http://askubuntu.com/questions/256249/windows-share-locks-up-when-php-fpm-tries-to-access-it

jon jones chuck colson death meteor showers 2012 ufc 145 jones vs evans marian hossa philip humber

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.