Re: weird. iceweasel crash my laptop after i use costum sessions

From: Date: Tue, 12 Jun 2007 20:22:08 +0000
Subject: Re: weird. iceweasel crash my laptop after i use costum sessions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-256775@lists.php.net to get a copy of this message
Show us your source for the session queries and any loops that surround that. Most likely, you have an error in there. Or, even more likely, you have a: header("Location: xxx"); where xxx ends up putting you back on the same page... Then you execute header("Location: xxx") again. This puts you back on the same page. Then you execute header("Location: xxx") again. This puts you back on the same page. . . . Your browser and your server (which are both on your laptop) are stuck in an infinite loop of header("Location: xxx") re-directs. Don't do that. :-) On Mon, June 11, 2007 8:43 pm, jeffry s wrote: > i am using my laptop with PHP 4+ and mysql 5+, everything start to be > weird > after i implement my costume sessions (storing in database). > i only use one database connection for the whole website. > what i mean is, the session and every query connect to mysqlserver > using the > same user. > > I am not sure if it is because of the sessions. but it happen after i > use > costume sessions. > > if i make a SQL query with non existant column name eg: noe > > SELECT * FROM test WHERE noe=1; > > Suddenly, if i use top to monitor process on my laptop i saw the > processor > usage for the mysqld and firefox-bin(iceweasel) increasing. > Icewasel will continue to consume processor usage to 100% and memory > up to > 80% all the time. > > Worst still, the mouse, keyboard do not work anymore. My laptop > very-very > slow until i cannot move my mouse cursor at all.. > > there is no way i can go except turn off the laptop power. > > I don't know what the problem is this. but, i think there is something > to do > with the sessions. And it related to PHP or may be problem with > Iceweasel. > I will try to ask debian mailing list for this. > > In case anyone experience the same thing. please let me know how you > fix it. > -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#256775) next »