Back to the month index |
Back to the list index
|
Sverre Johan Tøvik (Sverre.J.Tovik@hiMolde.no)
Wed, 7 Apr 1999 15:26:18 +0200
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Mitch Evans: "Re: Lite / Form Question"
- Previous message: Sverre Johan Tøvik: "w3-msql crashes on select which works in monitor"
- Next in thread: Sverre Johan Tøvik: "Solution ( it´s-a-bug ): w3-msql crashes on select which works in monitor"
- Reply: Sverre Johan Tøvik: "Solution ( it´s-a-bug ): w3-msql crashes on select which works in monitor"
Message-Id: <l03130301b3310b92d314@[158.38.68.233]> Date: Wed, 7 Apr 1999 15:26:18 +0200 From: Sverre Johan Tøvik <Sverre.J.Tovik@hiMolde.no> Subject: Update: w3-msql crashes on select which works in monitorHi again,
I just noticed that the console, when msql2d goes down, says:
***
mmap: Not enough space
Hit by a sig 11
Forced server shutdown due to bad signal!
Forcing close on Socket 4
***
I still don't understand what's happening... "top" says:
Memory: 29864K (10380K) real, 71620K (33340K) virtual, 2200K free Page# 1/9
How can there not be enough space? And how come this doesn't happen on
other queries (much "bigger" ones too...)?
Again, I hope someone can help...
Thanks in advance!
Regards,
Sverre Johan Toevik
CS Student, Molde College, Norway
>Hi,
>
>I'm having a (pretty weird) problem with a particular select clause that
>brings down msql2d when used in w3-msql, while it works fine in msql
>monitor (as it should).
>
>(Actually, it seems to "go away" pretty much at random elsewhere also, but
>with this particular select clause it happens _every_ time.)
>
>My setup is mSQL 2.0.8 on HP-UX 10.20.
>
>The select clause is "SELECT problem_lost FROM rapport_link WHERE
>problemrapport_id = 3".
>
>Here's how it looks in my w3-msql file:
>***
>if (msqlQuery($sock, "SELECT problem_lost FROM rapport_link WHERE
>problemrapport_id = 3") < 0)
>{
> echo("ERROR (problem_lost lookup) : $ERRMSG\n");
>}
>***
>
>And in case there should be any question about it, the HTML output is:
>"ERROR (problem_lost lookup) : MSQL server has gone away"
>
>(In case anyone's wondering; No, it's not very useful to have a hardcoded
>select clause. The number 3 is there in place of a path arg to the page. I
>did this just to rule out the possibility of this (the path arg, that is)
>being the problem.)
>
>mSQL Dump of the table follows below... Although the field names won't make
>much sense to anyone who doesn't happen to know Norwegian, the table and
>the select is so simple it shouldn't really matter...
>
>I hope someone can help me with this... I can actually work around this (so
>that I don't need this particular select), but I don't feel safe not
>knowing what is happening... I mean, if it goes down because of something
>this simple... :-)
>
>Thanks in advance!
>
>
>Regards,
>
>Sverre Johan Toevik
>CS Student, Molde College, Norway
>
>
>*********************************************************
>
>#
># mSQL Dump (requires mSQL 2.0 Beta 5 or newer)
>#
># Host: localhost Database: driftsnett
>#--------------------------------------------------------
>
>
>#
># Table structure for table 'rapport_link'
>#
>CREATE TABLE rapport_link (
> problemrapport_id INT NOT NULL,
> arbeidsrapport_id INT NOT NULL,
> problem_lost INT NOT NULL
>) \g
>
>CREATE INDEX link_arbeid_idx ON rapport_link (
> arbeidsrapport_id
>) \g
>
>CREATE INDEX link_problem_idx ON rapport_link (
> problemrapport_id
>) \g
>
>
>#
># Dumping data for table 'rapport_link'
>#
>
>INSERT INTO rapport_link VALUES (3,4,0)\g
>INSERT INTO rapport_link VALUES (1,4,1)\g
>INSERT INTO rapport_link VALUES (2,5,0)\g
- Next message: Mitch Evans: "Re: Lite / Form Question"
- Previous message: Sverre Johan Tøvik: "w3-msql crashes on select which works in monitor"
- Next in thread: Sverre Johan Tøvik: "Solution ( it´s-a-bug ): w3-msql crashes on select which works in monitor"
- Reply: Sverre Johan Tøvik: "Solution ( it´s-a-bug ): w3-msql crashes on select which works in monitor"