Tagged Questions

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 ...

learn more… | top users | synonyms

1
vote
0answers
22 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?
0
votes
0answers
28 views

Hight Threads in the LAMP server. Troubleshooting

So I was wondering around the web, and cant seem to find any decent Treads trouble shooting guide. Ans at the same time my server spiked yo 3k threads. So maybe someone could give me some tips, or ...
1
vote
1answer
92 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
62 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
0answers
129 views

Stack Threads on Weblogic 8.1 (jvm: jRockit R23) HP-UX 64 bits

I have noticed in our thread dumps of Weblogic 8.1 managed servers, the following lock: "ExecuteThread: '2' for queue: 'weblogic.admin.RMI'" id=186 idx=0x182 tid=5292 prio=5 alive, in native, ...
0
votes
1answer
103 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
184 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
123 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 ...
0
votes
0answers
28 views

Using an application installed on a server which handles multiple calls

An application installed on a server is called by another web application several times. Will this be thread safe? Will it cause any issue in that server? If so what are the ways to improve the ...
1
vote
1answer
74 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
129 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
126 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
923 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
1answer
281 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
622 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
530 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 ...
2
votes
1answer
1k 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
765 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
83 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
408 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
369 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" ...
0
votes
1answer
224 views

Weblogic Threads Usage

I have an application deployed on WebLogic 10.3, which exhibits a strange behavior. I am running a constant (not too high) load on my application (20 concurrent users, running a light activity). ...
1
vote
1answer
206 views

Changing memory allocation policy on Linux

How can I change memory allocation policy on Linux? On Solaris it's done system-wide with lgrp_mem_default_policy (man page) and pmadvise (man page) is a per process equivalent that does not require ...
0
votes
1answer
604 views

Easiest way of upgrading pthread library in CentOS?

I am developing a deamon for my VPS. The program works perfectly in local (that has pthread-2.11.so) but in the vps (witch have pthread-2.5.so) it have a memory leak related to threads (each thread ...
1
vote
2answers
586 views

How to make the most of JBOSS in multicore environments

I'm deploying jboss in a multicore system, where I'll have from 12 to 20 cores, and when I run the jboss server, I only see 1 process running, and I feel like it won't use more than one core... Is ...
0
votes
1answer
256 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
1k views

Apache2 worker mpm too many processes

I've got Apache installed with the worker mpm which seems to have too many processes active in spite of the configurations in place. I'll detail the configs below : StartServers 2 MinSpareThreads 10 ...
3
votes
1answer
1k views

Apache 2.2 mpm_worker: more threads or more processes?

When using the Worker MPM in Apache, you can fiddle with the number of child processes and the number of server threads per child process. What are the advantages and disadvantages of each? Under ...
2
votes
2answers
3k views

How to get - number of threads per process?

This is one Ubuntu 9.10 server. Also how to see memory usage per process? Thanks
2
votes
1answer
713 views

Increasing FreeBSD threads

For network apps that create one thread per connection (like Pound), threadcount can become a bottleneck on the number of concurrent connections you can server. I'm running FreeBSD 8 x64: $ sysctl ...
2
votes
2answers
3k 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 ...
0
votes
2answers
2k views

Does Apache ever give incorrect “out of threads” errors?

Lately our Apache web server has been giving us this error multiple times per day: [Tue Apr 06 01:07:10 2010] [error] Server ran out of threads to serve requests. Consider raising the ThreadsPerChild ...
0
votes
1answer
232 views

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 ...
1
vote
1answer
406 views

Give pthread_setschedparam() permissions to non-root user (linux)

How can I give a non-root user permission to execute pthread_setschedparam() to set thread priorities? Thank you
1
vote
2answers
1k views

JRun threadpool configuration

Me and my team have been struggling to keep a clustered ColdFusion application stable for the better part of the last 6 months with little result. We are turning to SF in the hope of some finding ...
0
votes
4answers
2k views

How many simultaneous requests would you expect a webserver to handle

I know there is no straight answer to this question - depends on specs etc. But what is the order of magnitude of simultaneous requests you'd expect a server to handle? Currently, our server starts to ...
2
votes
3answers
365 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 ...
3
votes
5answers
2k 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 ...
3
votes
4answers
255 views

Can Windows be configured to only use a single hardware thread?

Is is possible to configure Windows to only use a single hardware-thread. Every machine for the last couple of years seems to be at least dual-core, but some timing bugs are only reproducible when ...