Looks like the problem is in the amount of private vm memory pages my VPS provider has allowed me.
FYI, following is the email with the details that I sent to my VPS provider. I'm trying to run red5 (java streaming server) in my VPS, but am getting an error about it unable to allocate enough object heap. [EMAIL PROTECTED] red5-0.6.1]# ./red5.sh Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. I went online and found out that this has to do with the privvmpages VPS limit: [EMAIL PROTECTED] red5-0.6.1]# cat /proc/user_beancounters uid resource held maxheld barrier limit failcnt 6084: kmemsize 11001709 11024071 20761600 23068672 0 lockedpages 0 0 256 256 0 privvmpages 206196 206196 235929 262144 27 ... There's a thread here where an openvz user had the same problem and fixed it by increasing privvmpages value. http://forum.openvz.org/index.php?t=msg&goto=7061& It looks like there's plenty of overall free memory: [EMAIL PROTECTED] red5-0.6.1]# free total used free shared buffers cached Mem: 943716 329740 613976 0 0 0 -/+ buffers/cache: 329740 613976 Swap: 0 0 0 T > Date: Wed, 4 Jul 2007 10:17:28 -0700 > From: "Thomas Spellman" <[EMAIL PROTECTED]> > Subject: [Red5] Startup error in VPS > To: <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii" > > I tried to run red5 in my VPS environment, but got this error: > > [EMAIL PROTECTED] red5-0.6.1]# ./red5.sh > Error occurred during initialization of VM > Error occurred during initialization of VM > Could not reserve enough space for object heap > Could not reserve enough space for object heapCould not > create the Java > virtual machine. > > Could not create the Java virtual machine. > > > It looks like there's plenty of RAM available though: > > [EMAIL PROTECTED] red5-0.6.1]# free > total used free shared > buffers cached > Mem: 943716 333732 609984 0 > 0 0 > -/+ buffers/cache: 333732 609984 > Swap: 0 0 0 > > > [EMAIL PROTECTED] red5-0.6.1]# echo $JAVA_HOME > /usr/local/jre1.6.0_01 > > I couldn't find any logs. > > Any ideas what's wrong? > > T > > _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
