yarffaJ nalA (jnala) wrote in lj_dev,
yarffaJ nalA
jnala
lj_dev

Latest server release, more notes

bin/qbufferd.pl hardcodes the path /usr/bin/grep; on most Linux systems, grep is in /bin. This causes the check to see if qbufferd is already running to fail, and it will start another copy regardless. This happens every five minutes with the suggested cron entries in INSTALL.

I upgraded last night, and came back this morning to find my system completely hosed. :-( Too many open files. Blah.

Anyway, one-line patch to fix this is attached.

--- qbufferd.pl Thu May 10 16:14:43 2001
+++ qbufferd.pl.new     Thu May 10 16:14:24 2001
@@ -9,7 +9,7 @@
     my $pid;
     chomp ($pid = <PID>);
     close PID;
-    my $proc = `/bin/ps ax | /usr/bin/grep qbuffer`;
+    my $proc = `ps ax | grep qbuffer`;
     if ($proc) {
 #      print "Running.\n";
        exit;
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 13 comments