I have this in my my.cnf wait_timeout=1800 interactive_timeout=1800; net_read_timeout=1800; net_write_timeout=1800 but when i execute show processlist; I have processes that still running more than 4500sec even they are in 'Sleep' command. please help about this, thank you.

Member Avatar
Member Avatar
+0 forum 2

Okay so i'm trying to make a chat application using sockets, and i want them both to be able to write and read simultaneously. So i did some research and found that I/O multiplexing like select() will fix this problem. But I still have one problem. After I compile it and run it, one of the two programs doesn't receive the message 'till after one responds. So for example, the server sends a message to the client right? Then the client won't see the message until AFTER the client responds. Below you can find an example of this as well …

Member Avatar
Member Avatar
+0 forum 2

Hello, is it possible to create a website that can **receive a command/word from the user**, and then **search other websites **for a file associated with that word? The file it provides would be based on selecting the file based on a set of **pre-defined criteria**. So the site would have to perform scanning/selecting actions in the background while outputting simply the file result to the user. Can a site perform these background operations such as scanning other sites then selecting a file? I’m very new but eager to learn and excited to read your replies, thank you.

Member Avatar
Member Avatar
+0 forum 2

Hello, Im messing with processes for a project that Im doing, so if I detect that the specific process Im checking changes the title containing a specific word like "Hello" I will kill the process and start it again. Im doing this with a timer so every X secs/minutes it checks for the title: Process[] processPads = Process.GetProcessesByName("notepad"); foreach (Process processes in processPads) { if (!processes.MainWindowTitle.Contains("Untitled")) { processes.Kill(); Process.Start("notepad"); } } That's what I have and works and everything but when I click anything on the menu like "File/Edit/Format/View/Help/etc" If I click any of those notepad gets killed and it …

Member Avatar
Member Avatar
+1 forum 5

Hi ya guys, I have been learning about forks and processes, below is my code that i have created but am having difficulty on certain things. **1. Add code to print out and note the values of :** i. The values held within the array fd[ ] from the parent and child processes. ii.The process id’s of the parent and child processes. () **2. From within the child process, create another fork().** i. What is the overall structure of the processes afterwards? ii. What happens to the original child process id? #include <stdio.h> #include <unistd.h> int main() { int n; …

Member Avatar
+0 forum 0

Hello, How can I search for specific proccesses example "abc.exe" and add it to a listView and read values in it like an specific labels to add the processes on a specific group in the listView. Any articles would be nice.

Member Avatar
Member Avatar
+0 forum 3

I run Win 7 Home Premium. All of a sudden I got a problem with upstarting browsers. The browser processes start for a second, then disappear. Browsers (windows) do not start. Here is detail description. I have 2 browsers: firefox and IE. When I start my computer and try to start FF, the firefox.exe process appears for a second or 2, and then disapears. The FF browser does not start. The same thing happens with IE. But then I noticed that if I click IE many times, and many iexlpore.exe processes will start, than before they disappear, I click FF …

Member Avatar
Member Avatar
+0 forum 3

Hi folks, I need a solution for following scenario. 1. Suppose two processes running simulteneously. 2. Process (P1) has already locked a mutex (M1). 3. Process (P2) is trying to lock same mutex (M1) but as it is already locked by (P1), P2 is waiting for unlocking (M1). 4. Now somehow process (P1) terminates or dies wihtout unlocking mutex (M1). 5. (P2) is still waiting for unlocking (M1). But as (P1) is dead now there is no other way to unlock the mutex. 6. In this situation, (P2) experiences a deadlock. How to resolve this kind of situation.

Member Avatar
Member Avatar
+0 forum 2

[CODE] #include<stdio.h> #include<conio.h> void hello() { printf("\nHELLO\n"); } int main() { hello(); hello(); hello(); hello(); getch(); return 0; } [/CODE] If I run this code on a compiler,how many processes and how many threads will be running on the compiler and which ones? Does a duplicate function call consist another process or thread? Does a main() function have any process associated with it?

Member Avatar
Member Avatar
+0 forum 5

So I am creating an application that allows users to send basic keystrokes to end certain processes. But I am running into some issues. I know the code I have will work the problem is I do not know where to put the following code to execute the commands: [code] Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If Keys.ControlKey + Keys.I Then Try KillProcess("chrome.exe") Catch ex As Exception MessageBox.Show("Process May Not Be Running", "Error Closing Chrome.exe", MessageBoxButtons.OK, MessageBoxIcon.Error) End Try End If End Sub [/code] Also I am wondering how to let …

Member Avatar
Member Avatar
+0 forum 11

The End.