Hard Disk Usage in Vbox

Results 1 to 15 of 15
  1. #1
    3D Illusionist Drakaer is offline
    MemberRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    Hard Disk Usage in Vbox

    Server Infos
    Release: Aringaso
    OS: Ubuntu 10.04 Server
    Environment: Oracle Virtualbox v3.1.2
    Phyical PC Specs
    - 320GB HDD 27GB free (HDD is Partitioned into 2 143GB partitions)
    - 4GB RAM
    - AMD Turion X64 2.2GHz Dual Core CPU
    - Windows 7 64bit
    - Its a Laptop :P
    Vbox Specs
    - 9.4GB HDD (don't know if its dynamically expanding or not)
    - 2GB RAM
    - Using 1 CPU

    I noticed this morning that when Ubuntu starts its says that I have used 100% of 9.4GB on /
    I found this to be very unusual as my old hrace server only used around 20% of the hdd.

    Anyone know whats taking up so much space? Anyone else have this problem?

    I'm thinking this may be related to my problems with java and jetty. I'm considering enlarging the hdd and partition but I want to find out whats taking up the space first.

    ---edit---

    I found out what is taking up so much room, its nohup.out. The file is 7GB on my server which would explain why I'm having problems. I'm gonna see if I can stop jetty writing to this file.
    Last edited by Drakaer; 15-09-10 at 05:23 AM.


  2. #2
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: Hard Disk Usage in Vbox

    Quote Originally Posted by Drakaer View Post
    I found out what is taking up so much room, its nohup.out. The file is 7GB on my server which would explain why I'm having problems. I'm gonna see if I can stop jetty writing to this file.
    I personally prefer tomcat and apache to be separate servers...

    I dont like the idea behind jetty >_>

  3. #3
    3D Illusionist Drakaer is offline
    MemberRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    Re: Hard Disk Usage in Vbox

    I had problems with tomcat breaking after a while so I had to keep reinstalling it. I'm hoping with jetty I won't have the same problem.

    btw I stopped nohup.out you can find it here for anyone thats interested.
    http://forum.ragezone.com/f452/pwadm...ml#post5907248

  4. #4
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: Hard Disk Usage in Vbox

    I think Jetty is nice. But still prefer to use to tomcat until i'm sure Jetty is 100% stable enough to be fully used and replace the apache+tomcat couple.

    Jetty may support PHP, that why i prolly use jetty instead of apache later...

    All-in-one webserver, that's what i want... I don't like that everything are separated.

  5. #5
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: Hard Disk Usage in Vbox

    I'm with das on this one; the more things are separated the better in my opinion. At least that way, when one thing breaks it doesn't necessarily 'take everything else down with it' :) That and well it's also better for troubleshooting purposes!

  6. #6
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: Hard Disk Usage in Vbox

    I decided to let's the Apache+Tomcat couple....

    Jetty isn't good enough for me xD. And there's some bugs that i don't have with Tomcat...

    Idk why ronny took Jetty instead of Tomcat...

    I find Tomcat is better than Jetty....

    QUESTION:
    pwAdmin1.5 is compatible with tomcat ??

  7. #7
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: Hard Disk Usage in Vbox

    Quote Originally Posted by Romulan View Post
    QUESTION:
    pwAdmin1.5 is compatible with tomcat ??
    Should be...

    Im still running an older copy because when I tried to upgrade all my addons broke for it and had problems with it everywhere so I just stuck with what I had working

    After all, I don't see why it wouldn't work in tomcat... jsp is jsp is jsp

  8. #8
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: Hard Disk Usage in Vbox

    Yes I updated to the newest pwAdmin, well everything except the jetty part and I have had zero problems ;)

  9. #9
    Account Upgraded | Title Enabled! ronny1982 is offline
    MemberRank
    Jan 2010 Join Date
    744Posts

    Re: Hard Disk Usage in Vbox

    Quote Originally Posted by Romulan View Post
    I decided to let's the Apache+Tomcat couple....

    Jetty isn't good enough for me xD. And there's some bugs that i don't have with Tomcat...

    Idk why ronny took Jetty instead of Tomcat...

    I find Tomcat is better than Jetty....

    QUESTION:
    pwAdmin1.5 is compatible with tomcat ??


    if i'm working on pwAdmin i need to restart the web application server many times

    tomcat can only be stopped by killing java process, but this will also kill authd everytime i wanna retart tomcat...

    jetty has an build in soft shutdown (with pid management) that makes it possible to restart jetty without killing authd, thats all...

  10. #10
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: Hard Disk Usage in Vbox

    To kill Tomcat without effect authd process:
    Code:
    echo "TOMCAT: Stopping webserver..."
    /bin/kill -9 `ps -ef | grep /usr/java/jre1.5.0_21/bin/java | grep -v grep | awk '{print $2}'`
    echo "TOMCAT Stopped..."


    jre1.5.0_21 is used only by tomcat ^^

    jre1.6+ is used by authd, so no worries for that ^^

    Idk why you didn't thought it before...
    Last edited by Romulan; 15-09-10 at 10:10 PM.

  11. #11
    Account Upgraded | Title Enabled! ronny1982 is offline
    MemberRank
    Jan 2010 Join Date
    744Posts

    Re: Hard Disk Usage in Vbox

    Quote Originally Posted by Romulan View Post
    To kill Tomcat without effect authd process:
    Code:
    echo "TOMCAT: Stopping webserver..."
    /bin/kill -9 `ps -ef | grep /usr/java/jre1.5.0_21/bin/java | grep -v grep | awk '{print $2}'`
    echo "TOMCAT Stopped..."


    jre1.5.0_21 is used only by tomcat ^^

    jre1.6+ is used by authd, so no worries for that ^^

    Idk why you didn't thought it before...


    • i've killed tomcat the lazy way with killall java and that always killed all java processes...
      ok you find a command that may only kill jre1.5 processes, but it is still a hardkill, while jetty has a built in softkill and it is disappointing that tomcat don't has a working softkill (it has one, but the java process keeps running)...

    • also tomcat don't clear the webcache, you always have to clean the "work" directory by hand after making changes in jsp pages, jetty makes this automatically...

    • and there is also the php reason (not for me, but i see most of ragezoners wanna php too), i failed to embed a php servlet in tomcats configuration, while in jetty's configuration it was really easy...

    • jetty seems to be more lightweight compared to tomcat...


    Anyway: there is no problem using pwAdmin with tomcat (5.x, 6.x, 7.x), or Glassfish, or Resin, or any other java web-app server...

  12. #12
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: Hard Disk Usage in Vbox

    Quote Originally Posted by ronny1982 View Post
    also tomcat don't clear the webcache, you always have to clean the "work" directory by hand after making changes in jsp pages, jetty makes this automatically...
    On what, version 0.0.1 alpha?

    Don't mean to sound rude but Ive never had to do that and Ive editing things in jsp etc before and its always worked fine...

  13. #13
    Account Upgraded | Title Enabled! ronny1982 is offline
    MemberRank
    Jan 2010 Join Date
    744Posts

    Re: Hard Disk Usage in Vbox

    Quote Originally Posted by das7002 View Post
    On what, version 0.0.1 alpha?

    Don't mean to sound rude but Ive never had to do that and Ive editing things in jsp etc before and its always worked fine...

    tomcat 5.x and 6.x

  14. #14
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: Hard Disk Usage in Vbox

    Quote Originally Posted by ronny1982 View Post
    tomcat 5.x and 6.x
    I have 5 and I don't need to restart it when I change something... maybe its just you

  15. #15
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: Hard Disk Usage in Vbox

    Ok, i agree with you Ronny if you prefer to use Jetty instead of Tomcat for some reason.

    But in most case, pw ragezoner still use Tomcat...

    Also, for the php-cgi, it doesn't work fine for me. It only support HTML and some PHP function but not all. So i prefer to use XAMPP+Tomcat that is better for me and for other ragezoner...

    PS: My WhoIsOnline php script doesn't work with the php-cgi and jetty but work fine on XAMPP. I noticed that XAMPP works better than other webserver (WAMP, EasyPHP, ...) that i have tested.
    Last edited by Romulan; 16-09-10 at 11:50 AM.



Advertisement