I'm a noob having a bear of a time getting Cherokee up and running.
I have a fresh install of Cherokee Web Server 1.2.1 on a virtual Ubuntu
10.04 LTS Lucid server with 512MB of memory hosted with MediaTemple
(Media Temple uses Parallels' Virtuozzo virtualization).
#####
Here's the error I get when I start *cherokee-admin*:
[13/03/2011 19:42:20.228] (error) thread.c:247 - Could not create a system
thread: 'Resource temporarily unavailable' | This is a extremely unusual
error. For some reason
your system could not create a thread while launching the server. You
might
have hit some system restriction.
[13/03/2011 19:42:20.228] (critical) server.c:660 - Could not create an
internal server thread | This is a extremely unusual error. For some
reason
the server could not create a thread while launching the server.
#####
Here's what I get using the "*top*" command, after "sudo
/etc/init.d/cherokee start"
top - 19:45:33 up 4 min, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 12 total, 1 running, 11 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si,
0.0%st
*Mem*: 946344k total, *832036k used*, 114308k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 15 0 24200 1592 1268 S 0 0.2 0:02.76 init
9579 root 18 0 21072 1008 768 S 0 0.1 0:00.00 cron
9612 mysql 18 0 174m 23m 6564 S 0 2.6 0:00.07 mysqld
9658 syslog 15 0 12444 788 604 S 0 0.1 0:00.00 syslogd
9662 root 18 0 49256 1080 532 S 0 0.1 0:00.00 sshd
9765 www-data 25 0 89836 7048 4216 S 0 0.7 0:00.00 php-cgi
9788 root 15 0 70580 3200 2480 S 0 0.3 0:00.02 sshd
10147 sysadmin 18 0 70580 1656 932 S 0 0.2 0:00.00 sshd
10169 sysadmin 15 0 17944 2040 1476 S 0 0.2 0:00.00 bash
11460 root 18 0 32728 1488 1156 S 0 0.2 0:00.00 cherokee
11464 www-data 15 0 744m 4816 1584 S 0 0.5 0:00.00
cherokee-worker
28544 sysadmin 15 0 19084 1304 1060 R 0 0.1 0:00.04 top
#####
$ dpkg -l | grep cherokee
ii cherokee 1.2.1-1~lucid~ppa1 Very fast,
flexible and easy to configure we
ii cherokee-admin 1.2.1-1~lucid~ppa1 Cherokee web
server - Administrative plugin
ii cherokee-doc 1.2.1-1~lucid~ppa1 Very fast,
flexible and easy to configure we
ii libcherokee-base0 1.2.1-1~lucid~ppa1 Cherokee web
server - Base libraries
ii libcherokee-client0 1.2.1-1~lucid~ppa1 Cherokee web
server - Client libraries
ii libcherokee-mod-libssl 1.2.1-1~lucid~ppa1 Cherokee web
server - SSL crypto functions p
ii libcherokee-mod-mysql 1.2.1-1~lucid~ppa1 Cherokee web
server - MySQL user validator p
ii libcherokee-mod-rrd 1.2.1-1~lucid~ppa1 Cherokee web
server - RRDtool based informat
ii libcherokee-server0 1.2.1-1~lucid~ppa1 Cherokee web
server - Server libraries
#####
zcat /usr/share/doc/cherokee/changelog.Debian.gz | head -20
cherokee (1.2.1-1~lucid~ppa1) lucid; urgency=low
* Backport from Maverick PPA
-- Leonel Nunez <[email protected]> Thu, 24 Feb 2011 09:53:14 -0700
cherokee (1.2.1-1~maverick~ppa1) maverick; urgency=low
* New Upstream Version
-- Leonel Nunez <[email protected]> Thu, 24 Feb 2011 09:52:19 -0700
cherokee (1.2.0-1~maverick~ppa1) maverick; urgency=low
* New Upstream Version
-- Leonel Nunez <[email protected]> Mon, 21 Feb 2011 12:38:33 -0700
cherokee (1.0.20-1~maverick~ppa1) maverick; urgency=low
####
I'd really like to get Cherokee runnning on my server.
*FWIW, here's the same server with Cherokee stopped and running NginX*:
12:42:52 up 1:05, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 12 total, 1 running, 11 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si,
0.0%st
*Mem*: 946344k total, *173732k used*, 772612k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
21769 rrwilson 15 0 19084 1304 1060 R 0 0.1 0:00.01 top
1 root 18 0 23420 1592 1268 S 0 0.2 0:02.33 init
13797 root 18 0 21072 1012 772 S 0 0.1 0:00.00 cron
13851 mysql 18 0 173m 23m 6564 S 0 2.6 0:00.09 mysqld
13876 syslog 15 0 12444 792 604 S 0 0.1 0:00.00 syslogd
13886 root 15 0 49256 1084 532 S 0 0.1 0:00.00 sshd
14127 root 19 0 27984 900 264 S 0 0.1 0:00.00 nginx
14130 www-data 15 0 28360 1840 808 S 0 0.2 0:00.00 nginx
14149 www-data 22 0 89836 7040 4216 S 0 0.7 0:00.00 php-cgi
21973 root 17 0 70580 3204 2480 S 0 0.3 0:00.02 sshd
22306 sysadmin 15 0 70580 1660 932 S 0 0.2 0:00.02 sshd
22311 sysadmin 15 0 17948 2016 1440 S 0 0.2 0:00.00 bash
####
Notice the large difference in the "*Mem: ____ used*" stats above? Any
ideas? I guess if I can get the memory issue solved, I could get it
working.
Thanks,
Ron
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee