New Perl module: Proc::Fork::Control – easily control fork()’s within Perl code

Hi Again,

In addition to recently releasing Filesys::Virtual::Chroot I’ve also decided to publish my fork() control library as Proc::Fork::Control.

Proc::Fork::Control is a simple to use library which functions much the same way as Proc::Fork. That said, Proc::Fork is not used, as fork() is accessed directly.

Proc::Fork::Control allows you to manage forks, control number of children allowed, monitor children, control blocking and nonblocking states, etc.

This library can be obtained here: Proc-Fork-Control-1.4.tar

Or from CPAN directly:

sudo cpan Proc::Fork::Control

 

New Perl module: Filesys::Virtual::Chroot

59560038

I’ve been trying hard lately to take useful code I’ve written over the years for different projects (such as my predictive anti-spam system Ruckus scanmail) and rep.ublish the libraries with more generic names under CPAN

Filesys::Virtual::Chroot provides advisory functions for creating a virtual chroot environment. This is useful when you wish to lock a process which takes input from the wild into a set of directories.

This library can be downloaded here directly: Filesys-Virtual-Chroot-1.3.tar

Or pulled off of CPAN with:

sudo cpan Filesys::Virtual::Chroot

Command.

Firefox mobile search assistant

So annoyingly I learned tonight that Firefox Mobile’s, search assistant tool (long press on home) tends to default to the wrong search engine. To fix this, open up firefox mobile, go to Settings -> Customize -> Search, then select a search engine that is non-default, select a search engine that you wish to use. That should fix the Firefox Search using the other `default’.

 

Another year, another LUG.

Well it’s been another year, and another Lustre User Group meeting. There were many interesting discussions which took place. Though in general I found the most useful session to be after the LUG was completed. The developer meeting, for me at least was an excellent use of my time.

20150414_172356

 

PANO_20150413_135544

Got to hang out with some colleagues and old friends20150414_214137

 

Quite a few `primary’ developers at the developer meeting.PANO_20150416_144330

Windows 7 dropping connections to SMB services regularly

One thing that’s been constantly bugging me, as well as my wife is the fact that in general, Samba (SMB) connectivity from our Windows 7 machines is spotty at best. In general we can connect, and transfer data to and from our ZFS file server. However at seemingly random times the transfers fail, or the shares become unavailable. This is extremely frustrating especially when doing something like streaming music.

After some digging around I found the SessTimeout variable which is described as:

Determines the duration of the secondary delay used in calculating a time-out value for outstanding operations. If the redirector does not receive a response to an outstanding operation before the resulting time-out expires, it considers the operation to have failed. The value of the SessTimeout entry can be thought of as a margin for error. If there is an unexpected delay, the redirector permits the operation this extra time to complete.

Sounds promising…. So I popped up regedit on the windows workstations and added the DWORD entry SessTimeout in:

HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters

To a value of 300. After that no more timeout issues! Whoohoo! Finally!