Database Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesDatabase Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old February 16th, 2004, 01:06 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
connects with mysql / linux

Hello,

Have a little problem with the number of connects in Mysql (I believe)
I have a php that refreshes every 30 seconds that does a query. I also have a few agents updating the data. Every once in a while I get a can not write to the database error when an agent hits the submit. My thinking is I run out of mysqld processes.

When I do a ps -aux I count 10 [MYSQLD] running. Does anyone know how to up that number?
Or is this my problem?


Reply With Quote
  #2  
Old February 16th, 2004, 01:51 PM
honcho's Avatar
honcho honcho is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Cape Cod
Posts: 1,347 honcho User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 2 sec
Reputation Power: 3
RE: connects with mysql / linux

That's probably not your problem. See what mysql_error() says after you get an error, it should point you in the right direction.

Reply With Quote
  #3  
Old February 16th, 2004, 01:59 PM
nawlej nawlej is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Dallas, Tx. USA
Posts: 2,008 nawlej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 7 m 51 sec
Reputation Power: 4
RE: connects with mysql / linux

Doesnt sound like your problem is the script.....Just sounds like the record is locked by someone else trying to write to it.Thats not an unusual amount of processes....Depends on what your server is doing.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesDatabase Help > connects with mysql / linux


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT