Gour
(Gour)
18 November 2003 09:46
1
Hi!
I’m trying to setup some simple Ruby blogger to enable me upload RSS feeds to
the server.
Having some problems with blogtari, I am trying also to build tdiary.
With v1.5.6, Apache reports “premature end …” although some other scripts
in cgi-bin (under /home/…/public_html) run fine.
Running index.rb in console gives:
bash-2.05b$ ./index.rb
(offline mode: enter name=value pairs on standard input)
Is it OK? (looks like some authorization …)
Any hint?
Sincerely,
Gour
···
–
Gour
gour@mail.inet.hr
Registered Linux User #278493
In mail “Anyone runs tdiary 1.5.6?”
···
Gour gour@mail.inet.hr wrote:
Having some problems with blogtari, I am trying also to build tdiary.
With v1.5.6, Apache reports “premature end …” although some other scripts
in cgi-bin (under /home/…/public_html) run fine.
Running index.rb in console gives:
bash-2.05b$ ./index.rb
(offline mode: enter name=value pairs on standard input)
Is it OK? (looks like some authorization …)
Yes, it is a prompt of CGI library.
Just type Ctrl-D (EOF).
–
Minero Aoki
Gour
(Gour)
18 November 2003 13:46
3
I did and after some time (beeing very mem & cpu hungry), the process was
killed. Here is the log entry:
Nov 18 14:44:28 [kernel] Out of Memory: Killed process 18162 (index.rb).
Do you have any idea what could be wrong?
Sincerely,
Gour
···
Minero Aoki (aamine@loveruby.net ) wrote:
Yes, it is a prompt of CGI library.
Just type Ctrl-D (EOF).
–
Gour
gour@mail.inet.hr
Registered Linux User #278493
In mail “Re: Anyone runs tdiary 1.5.6?”
···
Gour gour@mail.inet.hr wrote:
Yes, it is a prompt of CGI library.
Just type Ctrl-D (EOF).
I did and after some time (beeing very mem & cpu hungry), the process was
killed. Here is the log entry:
Nov 18 14:44:28 [kernel] Out of Memory: Killed process 18162 (index.rb).
Out of memory??? Please tell me the result of “ruby --version”.
Also, if you compiled ruby by yourself, assure not to use gcc -O3.
–
Minero Aoki
Gour
(Gour)
20 November 2003 10:09
5
ruby 1.8.0 (2003-08-04) [i686-linux-gnu]
I’m running Gentoo, but I’m not sure whether I had -O3 or -O2 flag.
Now I’m going to re-emerge it (but it’s 1.8.1pre2).
Sincerely,
Gour
···
Minero Aoki (aamine@loveruby.net ) wrote:
Out of memory??? Please tell me the result of “ruby --version”.
Also, if you compiled ruby by yourself, assure not to use gcc -O3.
–
Gour
gour@mail.inet.hr
Registered Linux User #278493
Gour
(Gour)
20 November 2003 15:45
6
OK. I re-emerged ruby & it is compiled with -Os flag.
ruby 1.8.1 (2003-10-31) [i686-linux-gnu]
After running http://localhost/~gour/diary/ I was looking at ‘top’ and could
see that idnex.rb slowly eats my memory & CPU cycles until it was not killed
(after around 7 minutes eaten all the memory).
Any clue?
(I’m also trying blogtari which is in the nearby folder and it works OK.)
Sincerely,
Gour
···
Minero Aoki (aamine@loveruby.net ) wrote:
Out of memory??? Please tell me the result of “ruby --version”.
Also, if you compiled ruby by yourself, assure not to use gcc -O3.
–
Gour
gour@mail.inet.hr
Registered Linux User #278493