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

learn more… | top users | synonyms

3
votes
0answers
25 views

debugging stuck apache/php thread on production server

I have a linux system with apache httpd and PHP which is loaded using LoadModule php5_module /usr/lib/apache2/modules/libphp5.so. I've enabled the mod_status module of apache and I see a particular ...
0
votes
1answer
53 views

Apache stopped working permanently after error “Server ran out of threads to serve requests.”

I have been working with Apache for more than 8 years, but now I'm facing a severe problem and I couldn't find a solution on internet so far. I'm running Apache 2.2.15 32bit on a Windows 2008 R2 ...
1
vote
0answers
23 views

OOM using CRON but not using SHELL

When I start a java program by shell, everything is working well. However if I start the same program with the same command and same user by CRON, I get a java.lang.OutOfMemoryError just after a few ...
0
votes
1answer
16 views

Java process thread details

I'd like to get the details like name, running time, etc. of threads of a Java process on a production VM, similar to the info that VisualVM shows in the Threads tab. Unfortunately, VisualVM won't run ...
1
vote
1answer
86 views

httpd - Increase number of concurrent requests

I have httpd server running on Centos7. The apache details - Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16 I'm trying to load test a web application by starting to hit it with 100 users & ...
0
votes
0answers
199 views

Tomcat server unresponsive with use, sitting behind nginx

I have a Tomcat7 sitting behind nginx. It's fine to start with but after a bit of time and a bit of use it becomes unresponsive. I have taken a few thread dumps, but nothing seems to change. There are ...
-4
votes
2answers
68 views

For php webserver, what is faster, 1x 24-core server or 3x 8-core servers? [closed]

Pricing at Dell, it seems I can either get a single R430 or 3x R220's. The R220's would have 4C/8T processors, giving 24 threads. The R430 would have 2x 6C/12T processors giving again 24 threads. For ...
2
votes
0answers
993 views

What is a fast, efficient method for threading rsync

I have a single root directory (on a NAS) that I need to backup to another server. The hierarchy of the directory is several layers deep and a majority of the data is composed of extremely large ...
2
votes
1answer
826 views

Java: Limit the number of cores a JVM can use

Multiple users are running java applications on a 60-core compute server (Linux/Ubuntu-based). There are different applications and most of them are not developed in-house. While the sysadmin thinks ...
1
vote
0answers
147 views

determine if threads on a cpu are blocked? What are the causes of thread blocks?

The load-average reported by uptime command also displayed in top provides the the average run-queue length over time (1, 5 and 15 minutes) The run-queue length is the sum of the number of threads (...
1
vote
0answers
452 views

IIS Worker Process Thread Count

I've seen this question asked but the answer given was either insufficient or unrelated. I feel like this is a pretty simple question(s). We have a Classic ASP app running on IIS7.5 on a Windows 2k8 ...
-1
votes
2answers
211 views

How to run a single-threaded application on multiple processor cores efficiently? [closed]

There is this old application that we are using (called Aldfaer) that only uses a single thread. One of its processes takes about 90 minutes to complete at this moment, and we would like to decrease ...
1
vote
0answers
168 views

Taking a thread dump on IBM J9 takes a long time

I'm trying to collect a java core on AIX (java version 1.6). There is only one dump agent configured, which collects a system dump, heap dump and java core on every SIGQUIT, so I used HealthCenter to ...
1
vote
1answer
1k 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
2k 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" executor="...
0
votes
0answers
979 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
146 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
3k 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 ...
1
vote
1answer
3k 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 ...
3
votes
0answers
1k 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 ...
1
vote
3answers
280 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
155 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 [xfs],...
0
votes
1answer
401 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
486 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 ...
4
votes
0answers
1k 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
116 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 0....
1
vote
0answers
305 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 ...
2
votes
0answers
755 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 ...
1
vote
0answers
384 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
5k 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
2answers
786 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
230 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
437 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
5k 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
6k 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
87 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 example-ser-0.8.jar:/usr/local/lib/java/slf4j-api-1.6.1.jar:/...
7
votes
0answers
3k 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
1k 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
2k 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
2k 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
1k 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
103 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
2k 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
3answers
730 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
2k 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
815 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
855 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
385 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
632 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
1k 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 ...