Re: [BackupPC-users] Can't Fork Crash on Nexenta (Solaris)

2011-04-29 Thread Stephen Gelman
I am running BackupPC 3.2.0.  The line where it fails is:

if ( !defined($pid = open(CHILD, -|)) ) {

So it looks like it is attempting to fork...

Stephen Gelman
Systems Administrator

On Apr 28, 2011, at 11:55 PM, Holger Parplies wrote:

 Hi,
 
 Stephen Gelman wrote on 2011-04-20 22:57:38 -0500 [[BackupPC-users] Can't 
 Fork Crash on Nexenta (Solaris)]:
 On Nexenta (which is essentially an OpenSolaris derivative), I seem to have
 issues where BackupPC crashes every once and a while.  When it crashes, the
 log says:
 
 Can't fork at /usr/share/backuppc/lib/BackupPC/Lib.pm line 1340.
 
 Any ideas how to prevent this?
 
 Stephen Gelman
 Systems Administrator
 
 errm, have less processes running on your machine? What errno is that? Line
 1340 contains a Perl 'return' statement, so that's strange (since you didn't
 mention it, you must be using BackupPC 3.2.0beta0, because that's the version
 I happened to check). Which log file? How come BackupPC writes something to
 the log if it crashes? BackupPC doesn't even *try* to fork via Lib.pm (only
 BackupPC_{dump,restore,archive} appear to use that), and failures to fork in
 the daemon are certainly not fatal (except for daemonizing on startup).
 Very strange.
 
 Oh, and we know what Nexenta is. That's the part you wouldn't have needed to
 explain.
 
 Regards,
 Holger


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Can't Fork Crash on Nexenta (Solaris)

2011-04-29 Thread Les Mikesell
On 4/29/2011 9:33 AM, Stephen Gelman wrote:
 I am running BackupPC 3.2.0.  The line where it fails is:

 if ( !defined($pid = open(CHILD, -|)) ) {

 So it looks like it is attempting to fork...

The usual (perhaps only?) reason for not being able to fork is that you 
have run out of resources or hit an OS-imposed limit 
(memory/processes/file descriptors, etc.).   Can you raise those limits 
for the backuppc user?

-- 
   Les Mikesell
lesmikes...@gmail.com

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Can't Fork Crash on Nexenta (Solaris)

2011-04-28 Thread Holger Parplies
Hi,

Stephen Gelman wrote on 2011-04-20 22:57:38 -0500 [[BackupPC-users] Can't 
Fork Crash on Nexenta (Solaris)]:
 On Nexenta (which is essentially an OpenSolaris derivative), I seem to have
 issues where BackupPC crashes every once and a while.  When it crashes, the
 log says:
 
 Can't fork at /usr/share/backuppc/lib/BackupPC/Lib.pm line 1340.
 
 Any ideas how to prevent this?
 
 Stephen Gelman
 Systems Administrator

errm, have less processes running on your machine? What errno is that? Line
1340 contains a Perl 'return' statement, so that's strange (since you didn't
mention it, you must be using BackupPC 3.2.0beta0, because that's the version
I happened to check). Which log file? How come BackupPC writes something to
the log if it crashes? BackupPC doesn't even *try* to fork via Lib.pm (only
BackupPC_{dump,restore,archive} appear to use that), and failures to fork in
the daemon are certainly not fatal (except for daemonizing on startup).
Very strange.

Oh, and we know what Nexenta is. That's the part you wouldn't have needed to
explain.

Regards,
Holger

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/