Anyone runs tdiary 1.5.6?

G

Gour

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
 
M

Minero Aoki

In mail "Anyone runs tdiary 1.5.6?"
Gour said:
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).
 
G

Gour

Minero said:
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).

Do you have any idea what could be wrong?

Sincerely,
Gour
 
M

Minero Aoki

In mail "Re: Anyone runs tdiary 1.5.6?"
Gour said:
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.
 
G

Gour

Minero said:
Out of memory??? Please tell me the result of "ruby --version".
Also, if you compiled ruby by yourself, assure not to use gcc -O3.

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
 
G

Gour

Minero said:
Out of memory??? Please tell me the result of "ruby --version".
Also, if you compiled ruby by yourself, assure not to use gcc -O3.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[ANN] JRuby 1.2.0 Released 1
mod_python help! 1

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,813
Members
47,357
Latest member
sitele8746

Latest Threads

Top