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

learn more… | top users | synonyms

-2
votes
0answers
9 views

Why a quad-processor with enough free RAM and low CPU usage become very slow?

In a computer with Intel Core i3 and 4GB of RAM running Windows 8.1 build 9600, in conditions I expect no have performance problems it become very very slow and it's close to freeze (or even freeze ...
0
votes
1answer
11 views

Tomcat threads are increasing but never decreasing

We are using new relic to monitor tomcat threads. The graph shows increase of thread count,but it never decreased even the application is idle. We noticed that when it increase CPU also increased and ...
0
votes
1answer
36 views

How to limit the number of Tomcat threads?

I have a tomcat 7 running on a low memory CentOS. Currently it has 2 connectors for ports 80 and 443. Important configuration options are: <Connector port="80" protocol="HTTP/1.1" ...
0
votes
0answers
51 views

How do IIS Worker Process Threads work in a mixed Classic ASP/.NET environment?

I'm trying to track down an issue with our website slowing down at random times during the day. Server CPU and Memory are low (~20%), but Threads seem to get maxed out -- and requests start queuing ...
0
votes
0answers
108 views

IIS Threads Per Processor Max

We have IIS 7 running a classic ASP app. We noticed that while the CPU stays low, the ASP Request Queue can sometimes get high, causing slow response times. After some research it seems changing the ...
0
votes
1answer
48 views

intel 2620 and 2609 on debian cpuinfo [closed]

I have two Boxes running Debian 7 with the following processors. Each Box has two of the same processors. Intel® Xeon® Processor E5-2620 (15M Cache, 2.00 GHz, 7.20 GT/s Intel® QPI) # of Cores 6 # ...
0
votes
0answers
494 views

WebSphere hung threads, how can I track then down?

We have an application running on WebSphere (unfortunately it is 6.1 which is no longer supported, it has not yet been migrated in production to a later version) which becomes entirely unresponsive ...
0
votes
0answers
406 views

“No more threads can be created in the system” in Network and Sharing Center

A while back I noticed on one of our laboratory computers (Windows 7, very little extra software installed) that the network connection icon in the system tray would claim that it had no network ...
1
vote
0answers
130 views

What is optimal IIS threading settings for a Win2012 server that does lots of slower web service calls?

We have a Windows 2012 Server that communicates to lots of other services via SOAP based web services using ASP.Net and .NET 4.5. These services tend to have higher latency (i.e. 2-6 seconds to ...
0
votes
0answers
31 views

mod_perl, how can we control workers spawned by Apache 2.0 process

I have a particular issue with mod_perl, but instead of asking for help I decided to make it more general question so that it could be more usefull for community. Also I am not experienced system ...
1
vote
3answers
130 views

freebsd 7.2 kern.threads.max_threads_per_proc doesn't change after reboot

I have some multithread apps on my server machine based on FreeBSD 7.2, so because of this I need to increase kern.threads.max_threads_per_proc to 4000 (default value is 1500). I changed it using ...
3
votes
1answer
82 views

Linux kernel thread dependency graph?

I'm trying to benchmark a system with a software RAID-10 volume, backed by Fusion IO cards. Is it possible to display a Linux kernel thread dependency graph? I would like to know how all the ...
0
votes
1answer
202 views

mongodb : Can create new thread on FreeBSD?

We experienced some strange thing in our mongodb gridfs platform. The platform actually is a bi Xeon E5 (bi quad core) with 128GB of memory, running on freebsd 9 with a zfs pool dedicated for mongodb. ...
1
vote
0answers
195 views

How to tell uWSGI to prefer processes to threads for load balancing

I've installed Nginx + uWSGI + Django on a VDS with 3 CPU cores. uWSGI is configured for 6 processes and 5 threads per process. Now I want to tell uWSGI to use processes for load balancing until all ...
1
vote
0answers
509 views

How do I reduce the threads per process limit for an ISAPI app under IIS 7.5

I have a python WSGI application running under an ISAPI extension in IIS 7.5 on Windows Server 2008. I would like to increase the number of worker processes (which I know how to do) and reduce the ...
2
votes
0answers
91 views

Apache worker mpm, one process and many threads: understanding performance

Got a mod_perl-written serverside program. Im using shared apache worker mpm memory with one process only, and ~ 60 threads. Im using locks to temporary secure the access to the shared memory, just ...
1
vote
0answers
147 views

IIS 7 configuration does not lead to expected performances/thread count

I have a Windows Server 2008 R2 server running some web services through IIS 7. The web services run in integration mode with .NET Framework 2.0. The web services communicate with each other and with ...
1
vote
0answers
368 views

Python Threads and uWSGI Harakiri

I have a webapp that is using an API built on nginx, uWSGI, and Django. Recently I have been seeing a lot of harakiris on a particular API call which does some quick processing and then spawns a few ...
0
votes
0answers
241 views

Linux watchdog and timing interval

How does the /dev/watchdog timer exactly work? I found a description here and it says that once I open the file from an application I need to update it every 10 seconds. I was wondering is this a ...
1
vote
1answer
3k views

MariaDB / MySQL using a lot of threads / memory

I've been setting up a new VPS and wanted to try out MariaDB. I'm using MariaDB 10.0.1, which as far as I understand it is the equivalent of MySQL 5.6. Has the thread handling of threads changed ...
2
votes
1answer
2k views

check CPU affinity of process and it's threads

How do I check CPU Affinity for a linux processes and all of it's threads?
2
votes
2answers
553 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 ...
1
vote
0answers
165 views

Apache serving Samba share leads to poor performance?

This is a question about a problematic interaction between Apache and Samba. Our Linux server (on a private intranet) mounts a Windows share, which is physically thousands of miles away, and serves ...
0
votes
1answer
259 views

Tomcat maximum threads

I understand that setting the maximum number of connections available in a connection pool should be the same as your maxThreads configured for your Tomcat server (which correlates to the number of ...
2
votes
2answers
2k views

How do I increase the queue length in IIS's default app pool via command line?

I have a farm of IIS servers running Exchange and we are getting this error in HTTP Error: HTTP/1.1 POST /ews/exchange.asmx - 1 Connection_Dropped_List_Full MSExchangeServicesAppPool The advice ...
2
votes
1answer
2k views

Limit the number of max threads used by a process in linux kernel

I think I have found something that I need from the Linux kernel that is not currently implemented. I need a way to set a max thread limit per process. Is this possible?
0
votes
1answer
79 views

Starting program once leads to 10 instances

I have an old SUSE 8.1 server which just recently started acting crazy. If I start a program once: /usr/local/jdk1.6.0_21/bin/java -cp ...
5
votes
0answers
2k views

Multithreading with multi-queue NIC on SMP system [closed]

How are packets scheduled from network interface queues to CPUs, then onwards to threads for processing? What needs to be considered when it comes to how packets are hashed across queues, hardware ...
6
votes
1answer
768 views

Enabled hyperthreading - causes qthread creation error on Ubuntu Precise 64 bit

We recently set up an HP ProLiant DL360p server for some heavy grunt-work. For one reason or another we disabled hyperthreading in the system BIOS when setting it up. Being a dual-CPU 8-core system, ...
3
votes
1answer
1k views

Tell Tomcat to drop requests instead of dying “All threads (150) are currently busy”

My Tomcat 6.0.26 sometimes dies saying: SEVERE: All threads (150) are currently busy, waiting. Increase maxThreads (150) or check the servlet status ... then Tomcat shuts down, and users can't ...
1
vote
1answer
1k views

Nginx worker_processes and multi core cpu's - Do Hyper-threading cores count?

Quite often, when reading about the recommended worker_processes for nginx it is stated that this should be set to the numbers of cores the server hosting nginx has. We were wondering if we should ...
1
vote
1answer
709 views

Mysql thread eating up the whole cpu

I have a problem with MySQL server. Some mysql thread for a few hours eating up the whole processor. Killing the process certainly helps, but how is it possible to track that the code is running ...
1
vote
0answers
39 views

Are memory and thread managers on Windows Server 2008 R2 and Windows 7 Home/Prof/Ultimate same?

I was asking one question on DBA site, and I got a reply, that implies, that Windows Server 2008 R2 and Windows 7 Home/Prof/Ultimate have different memory and thread managers. Is this correct?
2
votes
1answer
1k views

Mysql single connection share by multiple java thread?

I have a java application with multiple thread started and they are all sharing a single db connection created in the main function. So far things have been running smoothly. I am worried will there ...
2
votes
2answers
510 views

Optimal number of threads for compute-intensive task on server with Hyperthreading

When running a compute-intensive task on a server with an Intel i7 quad-core processor with Hyperthreading, is it ideal to run eight threads (for the eight virtual cores), or only four (for the four ...
0
votes
2answers
990 views

mysql thread count

We have a web application that uses apache and mysql. Generally (according to Munin) our MySQL thread count sits between 2 and 4 at all times. The other day, our server almost came to a halt. HTTP ...
-1
votes
3answers
627 views

613 threads limit on debian [closed]

When running this program thread-limit.c on my dedicated debian server, the output says that my system can't create more than around 600 threads. I need to create more threads, and fix my system ...
0
votes
1answer
489 views

how can I monitor Jboss threads to see the response times and waiting times in real time

We are facing a problem of slowness in performance when the requests are being served from JBoss. We had a web server routing requests to application server and we could see the problem with JBoss's ...
1
vote
1answer
252 views

is Apache MPM prefork ALWAYS single threaded?

My impression is yes that it is and that this is why mod_php shops run it (usually for non-thread safe apps). On my ubuntu box, if I run sudo ps axo pid,ppid,rss,vsz,nlwp,cmd I get this: 32305 ...
2
votes
1answer
441 views

PHP Threading on Gentoo

PHP on Gentoo supports the threads USE flag. As far as I know, PHP does not support true threading; I am only aware of the ability to fork using pcntl_fork(), but this functionality is provided by the ...
0
votes
1answer
675 views

IIS, application domains, pools, processes and threads, high level understand

Was hoping if someone could be all these things into perpective for me. This is to better understand operatig systems in general, but also specifically how it applies to IIS. How to application ...
1
vote
1answer
2k views

IBM Websphere Application Server 7 - Why aren't threads that are hung destroyed?

If our application somehow loses connection with the memcached server all the threads are reported as hung after 10 minues or so [28.04.11 16:50:15:831 CEST] 00000025 ThreadMonitor W WSVR0605W: ...
1
vote
0answers
613 views

tomcat max number of threads

I have a very confusing scenario.. We are using tomcat6 to host an internal application. In server.xml file maxthreads attributes is set to 150 but if I log on to the manager, in "http-8080" section I ...
0
votes
4answers
2k views

Hung Java JVM failing to respond to kill -3

I have a Java VM that is hanging "randomly". I quote the randomly bit, because there is obviously a reason that the VM is hanging, but the hang does not occur periodically. We have the same software ...
3
votes
2answers
2k views

Hang while starting several daemons [solved]

I’m running a Debian Squeeze AMD64 server. Target runlevel after boot is runlevel 2, which includes rsyslogd, cron, sshd and some other stuff, but not dovecot, postfix, apache2, etc. The system fails ...
3
votes
1answer
8k views

what does apache (busy workers , idle workers) means?

what is the meaning of Apache busy workers and idle workers? how the statistic of them help me to figure out performance problem with my server?
3
votes
2answers
2k views

Redhat 5.5: Multi-thread process only uses 1 CPU of the available 8

Weird situation: Redhat Enterprise 5.5 (stock install, no updates, x64) on a HP z800 workstation. (Dual Xeon 2,2 Ghz. 8 cores, 16 if you count Hyper-threading. RH sees 16 cores.) We have an ...
3
votes
2answers
247 views

Does anyone know where I can find “proof” that SQL's Fiber mode is barely faster than regular thread mode on Win 2008 R2

I remember seeing a PDC presentation on the Windows Kernel regarding Threads vs Fibers and in it Mark R. mentioned that this caused SQL's Thread mode to run almost as fast as Fiber mode, but with ...
1
vote
1answer
670 views

Is linux kernel 2.6.37 80% slower than 2.6.34 using memory & threads?

If I run the command time perl -e 'use threads; $T=12 ; foreach (1..$T) { $thr[$i++] = threads->create(sub { printf "I am thread %s\n", threads->tid(); foreach (1..9e6) { push(@a, ...
0
votes
1answer
666 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" ...