A thread is the smallest entity of execution within a program.

learn more… | top users | synonyms

6
votes
4answers
16k views

Virtualized CPU cores vs. threads

We've got a KVM host system on Ubuntu 9.10 with a newer Quad-core Xeon CPU with hyperthreading. As detailed on Intel's product page, the processor has 4 cores but 8 threads. /proc/cpuinfo and htop ...
4
votes
6answers
16k views

Getting a per thread cpu stats

I'm interested in the current usage of cpu - precisely cpu% and wait% - for each thread in a specific application. Is it possible to get that information from somewhere? I know that top can split ...
2
votes
3answers
650 views

Mysql Replication - are per-database threads possible?

I manage a MySQL server hosting over 100 databases. We have set up standard master-slave replication, but the SQL Thread tends to break every so often, and requires manual intervention to re-start ...
2
votes
2answers
777 views

My linux server “Number of processes created” and “Context switches” are growing incredibly fast

I have a strange behaviour in my server :-/. Is a OpenVZ VPS (I think is OpenVZ, because /proc/user_beancounters exists and df -h returns /dev/simfs drive. Also ifconfig returns venet0). When I do cat ...
0
votes
1answer
1k views

List of PHP modules that are thread safe

I'd like to try running Apache in a threaded MPM with mod_php. Does anyone have a list of PHP modules that are thread safe so I can tell if its going to be safe to do or not?
0
votes
1answer
749 views

tomcat6 maxThreads property ignored

Hi in tomcat6 server.xml I have one connector for catalina service. And I set maxThreads=5: <Service name="Catalina"> <Connector port="8090" maxThreads="5" protocol="HTTP/1.1" />...