cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saurav Lahiri" <saurav.lah...@sungard.com>
Subject Review Request 20123: Fix for cloudstack-6328 to Prevent console proxy support scripts from spawning multiple java processes
Date Tue, 08 Apr 2014 15:15:13 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20123/
-----------------------------------------------------------

Review request for cloudstack, Rajani Karuturi and Rajesh Battala.


Repository: cloudstack-git


Description
-------

With multiple java processes writing to the same logfile, each is not aware of the log4j's
internal counter state, this needs to be prevented. So before starting new java process via
the _run.sh , a check is made to ensure that there are no existing java processes running.
This will prevent multiple java process writing to the same log file namely cloud.out. 


Diffs
-----

  systemvm/patches/debian/config/etc/init.d/cloud 83853bc 
  systemvm/scripts/run.sh 146d96f 
  systemvm/scripts/utils.sh PRE-CREATION 

Diff: https://reviews.apache.org/r/20123/diff/


Testing
-------

Tested the changes with console proxy vm and secondary storage vm. They start and stop as
expected.


Thanks,

Saurav Lahiri


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message