Questions tagged [threads]

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

Within a process, there may be one or more threads, each with the following:

  • A thread execution state (Running, Ready, etc.)
  • A saved thread context when not running; one way to view a thread is as an independent program counter operating within a process
  • An execution stack
  • Some per-thread static storage for local variables
  • Access to the memory and resources of its process, shared with all other threads in that process

Source: William Stallings, Operating Systems: INTERNALS AND DESIGN PRINCIPLES

99 questions
0
votes
1 answer

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?
chizou
  • 477
  • 3
  • 8
  • 18
0
votes
1 answer

Why does a MySQL select sometimes not create a "client connection"?

I'm doing some testing (on my dev server) to help me figure out what is causing the ever growing list of connections on my production server. My assumption is that there are certain pages that are not closing the connection using mysql_close(). So…
Vincent
  • 808
  • 1
  • 9
  • 12
0
votes
1 answer

Identifying thread deadlocks in WebSphere

In WebSphere 8.5.5.13 I have some out of memory errors and the database connections get maxed out. It seems to me this is due to thread starvation (I have some processes trying to do something with a timeout of 10 seconds and other tasks that…
Frabac
  • 3
  • 1
0
votes
1 answer

How do I get SUNW_1.4 version of libthread.so.1 for Solaris 2.6

I have installed an old application on an old Ultra 5 with Solaris 2.6. When I start the app, I get the error: ld.so.1: : fatal : libthread.so.1: version 'SUNW_1.4' not found. There is a version of libthread.so.1 present in /usr/lib dated sometime…
joshxdr
  • 257
  • 3
  • 15
0
votes
1 answer

Nfs server thread count is increased, but new threads don't start

We're running an nfs-server on RedHat 6.9 Santiago and recently we've experienced large I/O waits on clients. After some troubleshooting we decided to increase the number of nfs threads. After following the steps in RHEL's official solutions…
arkantos
  • 111
  • 3
-1
votes
2 answers

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

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 the time it takes for this job to complete. For…
-1
votes
3 answers

613 threads limit on debian

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 misconfiguration. Here are a few informations about my…
Joel
  • 195
  • 2
  • 10
-3
votes
1 answer

How much is too much (processes, threads)

I wonder if I have too much processes and if systemd is getting overloaded. When I run ps aux | wc -l O get "840" If I run ps -e H | wc -l I have around 5k (5128 to be exact), substracting the process count, this makes around 4288 threads. Is this…
-4
votes
2 answers

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

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 an CentOS 6 apache web server doing mostly…
user788171
  • 279
  • 1
  • 5
  • 13
1 2 3 4 5 6
7