+ Post New Thread
Page 1 of 3 123 LastLast
Results 1 to 15 of 43
Virtual Learning Platforms Thread, Ubuntu / Moodle REALLY SLOOOOWWWWW in Technical; Hi All, I have an Ubuntu 6.06 Lamp Server running Moodle 1.8.2 and have been testing it this morning with ...
  1. #1
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62

    Ubuntu / Moodle REALLY SLOOOOWWWWW

    Hi All,

    I have an Ubuntu 6.06 Lamp Server running Moodle 1.8.2 and have been testing it this morning with a class to see how it handles and to put it mildly VERY BAD.

    The server itself is a dual Xeon 3ghz with 2Gb DDR2 memory and 100Gb RAID5 but even with this I am seeing:

    Code:
    top - 10:26:30 up 21:56,  1 user,  load average: 22.63, 12.73, 5.84
    Tasks:  74 total,   9 running,  65 sleeping,   0 stopped,   0 zombie
    Cpu(s): 98.7% us,  1.3% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.0% hi,  0.0% si
    Mem:   2076004k total,   720676k used,  1355328k free,   109156k buffers
    Swap:  1469908k total,        0k used,  1469908k free,   135780k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    15765 www-data  16   0 37796  24m 4772 R   46  1.2   1:10.84 apache2
    14491 www-data  16   0 40444  27m 4836 R   35  1.3   1:04.42 apache2
    16055 www-data  16   0 37236  24m 4688 S   32  1.2   1:00.79 apache2
    16069 www-data  16   0 37236  24m 4760 S   18  1.2   1:00.32 apache2
    16053 www-data  15   0 39104  25m 4736 S   18  1.3   1:10.59 apache2
    16068 www-data  15   0 37552  24m 4740 S   14  1.2   1:10.05 apache2
    16036 www-data  16   0 38388  25m 4796 S   11  1.2   1:10.62 apache2
    15790 www-data  16   0 37436  24m 4768 R    6  1.2   0:57.44 apache2
    15778 www-data  15   0 39040  25m 4760 S    6  1.3   1:01.68 apache2
    15788 www-data  15   0 37540  24m 4800 S    5  1.2   1:17.28 apache2
    14346 www-data  16   0 41256  27m 3820 R    5  1.3   1:13.78 apache2
    13733 www-data  16   0 38364  25m 4740 R    3  1.2   1:06.87 apache2
    16058 www-data  15   0 37840  24m 4808 S    1  1.2   1:06.84 apache2
     3862 mysql     15   0  132m  24m 4772 S    1  1.2   0:25.81 mysqld
        1 root      22   0  1568  528  460 S    0  0.0   0:01.52 init
        2 root      RT   0     0    0    0 S    0  0.0   0:00.08 migration/0
        3 root      34  19     0    0    0 S    0  0.0   0:00.00 ksoftirqd/0
    I really want to use this and get the whole school to use it but if a class of 20 cause this much trouble then I stuck, anyone got any ideas at all??

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Ubuntu / Moodle REALLY SLOOOOWWWWW

    Can you install apachetop and run that?

  3. #3
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62

    Re: Ubuntu / Moodle REALLY SLOOOOWWWWW

    sorry geoff where to get it from??

  4. #4

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,401
    Thank Post
    637
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    Re: Ubuntu / Moodle REALLY SLOOOOWWWWW

    Code:
    sudo apt-get install apachetop
    The load average is worryingly high

  5. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Ubuntu / Moodle REALLY SLOOOOWWWWW

    Code:
    sudo apt-get install apachetop

  6. #6
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62

    Re: Ubuntu / Moodle REALLY SLOOOOWWWWW

    Sorry guys getting the following when trying to run as suggested:

    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package apachetop

    ??

    @Webman: Tell me about it

  7. #7

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Ubuntu / Moodle REALLY SLOOOOWWWWW

    Enable the 'Universe' repository in your /etc/apt/sources.list

  8. #8
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62

    Re: Ubuntu / Moodle REALLY SLOOOOWWWWW

    ok have it installed, what is the command to run it??

    Have run apachetop but keep getting:

    Cannot connect to fam: connection refused

  9. #9

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Ubuntu / Moodle REALLY SLOOOOWWWWW

    Ooh, I remeber this bug. FAM isn't listed as a dependancy for apachetop (when it really should be).
    Code:
    sudo apt-get install fam

  10. #10
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62

    Re: Ubuntu / Moodle REALLY SLOOOOWWWWW

    Seems it's already there:

    Code:
    Reading package lists... Done
    Building dependency tree... Done
    fam is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded.

  11. #11

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Ubuntu / Moodle REALLY SLOOOOWWWWW

    Is it running?
    Code:
    sudo ps aux | grep fam
    if not
    Code:
    sudo /etc/init.d/fam restart

  12. #12
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62

    Re: Ubuntu / Moodle REALLY SLOOOOWWWWW

    Results of grep fam

    Code:
    root     27210  0.0  0.0   2880   800 pts/0    S+   11:11   0:00 grep fam
    results of restart

    Code:
     * Restarting file alteration monitor...                                 [ ok ]

  13. #13

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Ubuntu / Moodle REALLY SLOOOOWWWWW

    So does apachetop work now?

  14. #14
    contink's Avatar
    Join Date
    Jul 2006
    Location
    South Yorkshire
    Posts
    3,791
    Thank Post
    303
    Thanked 327 Times in 233 Posts
    Rep Power
    118

    Re: Ubuntu / Moodle REALLY SLOOOOWWWWW

    Hmm...

    Would some form of cacheing help... ?

  15. #15

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Ubuntu / Moodle REALLY SLOOOOWWWWW

    Well if there was an underlying configuration error with PHP, apache or mysql we are better off finding it, rather than papering over the cracks with a reverse proxy or a php accelerator. The machine really should be able to cope with that load.

SHARE:
+ Post New Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. Well here goes... [Ubuntu]
    By contink in forum *nix
    Replies: 10
    Last Post: 1st November 2007, 10:09 AM
  2. WPA/PSK and Ubuntu
    By richard in forum *nix
    Replies: 12
    Last Post: 17th May 2007, 09:44 AM
  3. Ubuntu Help Please.
    By tickmike in forum *nix
    Replies: 15
    Last Post: 4th January 2007, 01:55 PM
  4. ubuntu and Moodle
    By TechMonkey in forum *nix
    Replies: 12
    Last Post: 23rd September 2006, 06:58 PM
  5. getting moodle to work on ubuntu
    By pcprofessor in forum *nix
    Replies: 6
    Last Post: 23rd February 2006, 09:07 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •