[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Anyone runs tdiary 1.5.6?

Gour

11/18/2003 9:47:00 AM

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



5 Answers

Minero Aoki

11/18/2003 11:34:00 AM

0

Gour

11/18/2003 1:46:00 PM

0

Minero Aoki (aamine@loveruby.net) 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).

Do you have any idea what could be wrong?

Sincerely,
Gour

--
Gour
gour@mail.inet.hr
Registered Linux User #278493



Minero Aoki

11/20/2003 9:21:00 AM

0

Gour

11/20/2003 10:09:00 AM

0

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.

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

--
Gour
gour@mail.inet.hr
Registered Linux User #278493



Gour

11/20/2003 3:45:00 PM

0

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.

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

--
Gour
gour@mail.inet.hr
Registered Linux User #278493