473,396 Members | 1,754 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

php and freetds

I'm running a site balanced between 5 apache servers running on FC3,
apache 2.0.53,php 4.3.4,freetds 0.63.

I have this strange problem that sometimes, not even times of load, the
connections table at the sql server gets to a very high value (about
1000) my average is below 200.

I don't know how to solve this, but I know that if I restart the
process of all my apache servers, everything turns ok,

This happens at random times, sometimes 2 times a day, and sometimes
even 10.
Do you know what might be the problem?

Thanks In Advance.

Erez

Oct 10 '05 #1
14 3473
er****@gmail.com wrote:
I'm running a site balanced between 5 apache servers running on FC3,
apache 2.0.53,php 4.3.4,freetds 0.63.

I have this strange problem that sometimes, not even times of load, the
connections table at the sql server gets to a very high value (about
1000) my average is below 200.

I don't know how to solve this, but I know that if I restart the
process of all my apache servers, everything turns ok,

This happens at random times, sometimes 2 times a day, and sometimes
even 10.
Do you know what might be the problem?

Thanks In Advance.

Erez


And your PHP question is?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Oct 10 '05 #2
i dont know, i thought it might be related to php, or some of the guys
here may know...
should i post somewhere else?

Oct 10 '05 #3
er****@gmail.com wrote:
i dont know, i thought it might be related to php, or some of the guys
here may know...
should i post somewhere else?


Well, perhaps you could start out by determining what the connections
are. Depending on what you have on your system, they could be PHP,
Apache, Unix or some batch program running.

We know even less about your system than you do. How should we be able
to help with your problem?

But since this is related to MySQL, I might recommend a MySQL newsgroup.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Oct 10 '05 #4
these are all connection to the ms-sql server, from the web server
serving with apache.
i dont know why at random times they go to such a high level

Oct 11 '05 #5
er****@gmail.com wrote:
these are all connection to the ms-sql server, from the web server
serving with apache.
i dont know why at random times they go to such a high level


But again - what is the source? Is it Apache? PHP? Something else?

You really need to do some diagnosis on the problem before someone else
can help you.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Oct 11 '05 #6
do you know of other program than freetds, i suspect it might be the
problem.....

Oct 11 '05 #7
er****@gmail.com wrote:
do you know of other program than freetds, i suspect it might be the
problem.....


I've heard about it, but never used it. If you think that's the
problem, you should follow up on their mailing list.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Oct 11 '05 #8
Jerry are you just a dickhead or do you have multiple personalities?

FreeTDS is used with PHP.

Duh!
Jerry Stuckle wrote:
er****@gmail.com wrote:
I'm running a site balanced between 5 apache servers running on FC3,
apache 2.0.53,php 4.3.4,freetds 0.63.

I have this strange problem that sometimes, not even times of load, the
connections table at the sql server gets to a very high value (about
1000) my average is below 200.

I don't know how to solve this, but I know that if I restart the
process of all my apache servers, everything turns ok,

This happens at random times, sometimes 2 times a day, and sometimes
even 10.
Do you know what might be the problem?

Thanks In Advance.

Erez


And your PHP question is?


Oct 12 '05 #9
er****@gmail.com wrote:
i dont know, i thought it might be related to php, or some of the guys
here may know...
should i post somewhere else?


FreeTDS has a connection pooling capability, check the docs at www.freetds.org

Oct 12 '05 #10
Uber Geschlissen wrote:
Jerry are you just a dickhead or do you have multiple personalities?

FreeTDS is used with PHP.

Duh!
Jerry Stuckle wrote:
er****@gmail.com wrote:
I'm running a site balanced between 5 apache servers running on FC3,
apache 2.0.53,php 4.3.4,freetds 0.63.

I have this strange problem that sometimes, not even times of load, the
connections table at the sql server gets to a very high value (about
1000) my average is below 200.

I don't know how to solve this, but I know that if I restart the
process of all my apache servers, everything turns ok,

This happens at random times, sometimes 2 times a day, and sometimes
even 10.
Do you know what might be the problem?

Thanks In Advance.

Erez


And your PHP question is?


Go to hell.

I just asked what his PHP question was. Sure FreeTDS is used with PHP.
So are MySQL, Oracle, ODBC, Apache, OSCommerce, PhpBBS and dozens of
other packages and tools. Does this mean any question on any of these
are "on topic"?

The fact here is - he has a problem. It's not at all clear this is
related to PHP. And if it is a FreeTDS problem, FreeTDS has its own
mailing list where he can get much better help from the experts. Ask in
the right place and you get better answers.

And don't top post.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Oct 12 '05 #11
F*** OFF AND DIE DICKHEAD

Who the f*** are you to pontificate and run people. Like you are
the moderator of the newsgroup? Ha! As if you had any power
you little twit. And to even suggest somebody not top-post, is
this the domain of pubescent little children who obsess over
the rules that they make up. I imagine you have all kinds of
little rules for sh** that doesn't matter. Whiner.

STFU and crawl back into your little hole.

People don't need to be pushed away that are asking for help. Smart
people that have answers think outside the box, obviously you want
to stay inside yours because you can't.
Jerry Stuckle wrote:
Uber Geschlissen wrote:
Jerry are you just a dickhead or do you have multiple personalities?

FreeTDS is used with PHP.

Duh!
Jerry Stuckle wrote:
er****@gmail.com wrote:

I'm running a site balanced between 5 apache servers running on FC3,
apache 2.0.53,php 4.3.4,freetds 0.63.

I have this strange problem that sometimes, not even times of load, the
connections table at the sql server gets to a very high value (about
1000) my average is below 200.

I don't know how to solve this, but I know that if I restart the
process of all my apache servers, everything turns ok,

This happens at random times, sometimes 2 times a day, and sometimes
even 10.
Do you know what might be the problem?

Thanks In Advance.

Erez
And your PHP question is?


Go to hell.

I just asked what his PHP question was. Sure FreeTDS is used with PHP.
So are MySQL, Oracle, ODBC, Apache, OSCommerce, PhpBBS and dozens of
other packages and tools. Does this mean any question on any of these
are "on topic"?

The fact here is - he has a problem. It's not at all clear this is
related to PHP. And if it is a FreeTDS problem, FreeTDS has its own
mailing list where he can get much better help from the experts. Ask in
the right place and you get better answers.

And don't top post.


Oct 13 '05 #12
Uber Geschlissen wrote:
F*** OFF AND DIE DICKHEAD

Who the f*** are you to pontificate and run people. Like you are
the moderator of the newsgroup? Ha! As if you had any power
you little twit. And to even suggest somebody not top-post, is
this the domain of pubescent little children who obsess over
the rules that they make up. I imagine you have all kinds of
little rules for sh** that doesn't matter. Whiner.

STFU and crawl back into your little hole.

People don't need to be pushed away that are asking for help. Smart
people that have answers think outside the box, obviously you want
to stay inside yours because you can't.


And you're stupid. You don't even have the brains to follow newsgroup
conventions - which in this case is NOT top posting, asshole.

You're the dickhead who started this. I was trying to steer Erez to the
place where he could get some *real* help.

You haven't even tried that, you stupid moron. No, you just break into
the middle of a conversation where you're not wanted, attack me because
I didn't help Erez to *your* satisfaction. (I have yet to see *you*
contribute anything to help him solve his problem!).

Fucking moron.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Oct 13 '05 #13

Jerry Stuckle wrote:
Uber Geschlissen wrote:
F*** OFF AND DIE DICKHEAD

Who the f*** are you to pontificate and run people. Like you are
the moderator of the newsgroup? Ha! As if you had any power
you little twit. And to even suggest somebody not top-post, is
this the domain of pubescent little children who obsess over
the rules that they make up. I imagine you have all kinds of
little rules for sh** that doesn't matter. Whiner.

STFU and crawl back into your little hole.

People don't need to be pushed away that are asking for help. Smart
people that have answers think outside the box, obviously you want
to stay inside yours because you can't.

And you're stupid. You don't even have the brains to follow newsgroup
conventions - which in this case is NOT top posting, asshole.

You're the dickhead who started this. I was trying to steer Erez to the
place where he could get some *real* help.

You haven't even tried that, you stupid moron. No, you just break into
the middle of a conversation where you're not wanted, attack me because
I didn't help Erez to *your* satisfaction. (I have yet to see *you*
contribute anything to help him solve his problem!).

Fucking moron.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

js*******@attglobal.net

guys i just need some help for a problem that's realy disturbing me
there's no need to fight ==================


Oct 16 '05 #14
er****@gmail.com wrote:
Jerry Stuckle wrote:
Uber Geschlissen wrote:
F*** OFF AND DIE DICKHEAD

Who the f*** are you to pontificate and run people. Like you are
the moderator of the newsgroup? Ha! As if you had any power
you little twit. And to even suggest somebody not top-post, is
this the domain of pubescent little children who obsess over
the rules that they make up. I imagine you have all kinds of
little rules for sh** that doesn't matter. Whiner.

STFU and crawl back into your little hole.

People don't need to be pushed away that are asking for help. Smart
people that have answers think outside the box, obviously you want
to stay inside yours because you can't.


And you're stupid. You don't even have the brains to follow newsgroup
conventions - which in this case is NOT top posting, asshole.

You're the dickhead who started this. I was trying to steer Erez to the
place where he could get some *real* help.

You haven't even tried that, you stupid moron. No, you just break into
the middle of a conversation where you're not wanted, attack me because
I didn't help Erez to *your* satisfaction. (I have yet to see *you*
contribute anything to help him solve his problem!).

Fucking moron.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.


js*******@attglobal.net


guys i just need some help for a problem that's realy disturbing me
there's no need to fight
==================



Sorry, I just let this idiot get a little under my skin.

You still need to do some troubleshooting. Your problem could be caused
by a lot of different things.

However, since the problem is MySQL connections, I'd suggest you start
troubleshooting with MySQL - check one of the MySQL newsgroups for help.
And if you think the problem is freetds, try the freetds mailing lists.

But there's nothing here indicating a PHP problem - and you'll get a lot
more help in more specific newsgroups.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Oct 17 '05 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Google Mike | last post by:
Anyone having any luck to get PHP on Linux to talk to MS SQL Server 2000 via FreeTDS? Where do I begin? I'm a Linux newbie and a PHP newbie, but I'd say I'm beyond the idiot stage. I mean, I've...
1
by: Tom Jones | last post by:
I need to access databases on both win2k and Linux systems but I have to set up the DSNs under program control ... no uses using GUIs ... Has anyone done this? if so can we discuss it either in...
4
by: Mike Walsh | last post by:
I would like to use PHP's Sybase extension. I am running my development area on Windows under IIS. When I enable the Sybase extension, I get a message that indicates the extension didn't load. ...
7
by: Lyn Duong | last post by:
Hi all I'm trying to transfer data from sqlserver 2000 to ibm db2 AIX 8.1.4 using dts packages This works when I use db2 ole db drivers but the problem is that the transfer is very slow as the...
1
by: Ajay | last post by:
Hi, Is freeTDS ODBC already ready? If yes, how to find it? Also, is it compatible to Windows: i.e. can itbe compiled on windows. Please tell me if youhave sonmeother ODBC solution also.
2
by: grezios | last post by:
Hi everybody and first of all thank you very much for your help, i am on a linux fedora core 5 server and i want to odbc connect to a windows 2003 server with MSSQL Server database. the iODBC is...
0
by: hassanali20 | last post by:
I've surfed this forum and found one thread which was talking about the same problem i've, but it didn't help in my situation. http://www.thescripts.com/forum/thread510563.html I could connect to...
4
by: eeb4u | last post by:
I am connecting to MS SQL 2000 from Red Hat EL4 using freetds and currently running queries to get counts on tables etc. When running SELECT queries I notice that the data returns and I have to...
0
by: masterorb | last post by:
Hi, I am trying to open a connection between a PHP page and MSSQL Server 2005 (as opposed to MySQL). I found a tool online that seems to accomplish this: http://www.freetds.org/. However, I get...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.