Scenario:
We have an 'automatic orders' machine sat in the corner running XP with Outlook 2003. Its job is to check for new emails on a specific account, when it encounters one it checks the e-mail body for specific wording to determine which customer it is from (using a macro), then it checks the attachment for specific order codes before parsing…
Basically I control several servers and I only host either static websites or scripts which I have designed, so I trust them up to a point.
However, I have a few customers who want to start using scripts such as Wordpress or many others - and they want full control over their account.
I have started to do the basics - like on php.ini, I have…
I've got a innodb table that gets a lot of reads and almost no writes (like, 1 write for every 400,000 reads approx).
I'm running into a pretty big problem though when I do INSERT into the table. MySQL completely locks up. It uses 100% cpu, and every single other table (in other databases even) have their statuses set to "Locked" until the…
Hi folks,
I've got a pretty busy website that is running on a single web front end machine, on W2K8 + IIS7.
Every now and then - eg. maybe monday at 3am or something, then a few days later .. some early morning time .. then nothing for 2 weeks ... etc - the website fails to respond to any client connections.
ie. no one can connect to the…
If I press the Windows-L combination to lock my PC the "Windows Logoff" sound does not play. It used to but at some point it stopped. I installed only trustworthy apps on my system and it is pretty clean so I don't think it is a virus.
I checked the sounds in the control panel and "Windows Logoff" is set. Is there a sound associated…
I am having a very weird issue on a Lenovo W510 laptop. It will lock up randomly. I have had it lock up during post, during the boot-up of Linux, during login, and after the login. The following are tests that I have performed on the laptop.
I ran memtest
I took out the extra memory module.
I swapped the HDD with another HDD that had…
Since I've been using Windows 7 RTM (as opposed to the Beta and RCs), I've been having a peculiar issue with executable files. I first noticed it whilst using Visual Studio, in that when building a project, it would often fail saying that the output file was locked - but the problem has stemmed further.
When I've executed an…
I've had a fair bit problems with sometimes files/folders/processes being 'locked' by Windows.
The weird thing is, it's not like the traditional sense, I think, where tools like UnlockIT and wholockme would work. It seems that just giving it a little often helps - making me think it could either be the HDD, the memory, or…
I installed jailkit on my CentOS 5.8 server, and configured it according to the online guides that I found. These are the commands that were executed as root:
mkdir /var/jail
jk_init -j /var/jail extshellplusnet
jk_init -j /var/jail sftp
adduser testuser; passwd testuser
jk_jailuser -j /var/jail testuser
I then edited…
When updating any software product, as well as manually trying to replace .exe files, it says that access is denied to the file and in fact the System process is holding a handle to the file when I check it with Process Explorer.
This must be a driver or something that is malfunctioning was my first though, but now I…
I have a sandbox app that is built from the simple WPF Application template. This sandbox references an assembly that I am also building which contains the definition of a UserControl (WPF). I am instantiating this user control in the sandbox, to test the control's behaviour. The point of all this is to speed up…
When I'm away from my computer (Windows XP) for more than ~30 minutes, I get locked out, and have to press Ctrl+Alt+Delete to login. I've checked the screensaver settings, and it's not set to lock the screen.
Does anyone know what else could be causing this?
Thanks
First of all, I'm aware a similar question for GNOME is asked here: "Switch off laptop backlight when locking screen".
Objective
I would like to turn off my screen on locking the session for power saving reasons.
Actual problem
Locking the screen on Kubuntu (KDE) inevitably triggers the screensaver as far as I…
I have a table with a column called "count" and I want to run a cron job that will trigger a statement that performs a SQL like this:
update summaryTable set count=4;
Note that there might be concurrent threads reading & changing the value for "count" when this cron job is triggered. The table has a version…
Since Eventlet uses green threading and asynchronous I/O, do I still need to set locks before accessing objects? My understanding is that greenlets are all part of one thread and locking isn't necessary. Can anyone confirm or deny this?
I'm using My.Settings in my VB.NET application and when we run multiple instances rarely it's giving a ConfigurationErrorsException because the settings file locked by another instance.
Is there anyway to fix this?
This is happening during the OnShutdown process, also I'm not quite sure how can I catch that…
Hi,
I read somewhere that we should lock the mutex before calling pthread_cond_signal and unlock the mutext after calling it:
The pthread_cond_signal() routine is
used to signal (or wake up) another
thread which is waiting on the
condition variable. It should be
called after mutex is locked, and…
I have a static collection of objects that will be frequently updated from multiple threads. Is it possible to lock individual objects in a collection instead of locking the entire collection so that only threads trying to access the same object in the collection would get blocked instead of every thread?
…
I came across this article discussing why the double-check locking paradigm is broken in java. Is the paradigm valid for .net (in particular, C#), if variables are declared volatile?
From what I can understand, once I create a socket, I can then create an array to store it with
userArray[socket.nickname]=socket;
I can then send a message to it with:
io.sockets.socket(userArray[data.to]).emit('private message', tstamp(), socket.nickname, message);
The basic logic is to store a…
I need to do a MySQLDump on a DB with ~700 tables and when I try with my current configuration, I get an error:
mysqldump: Got error: 1016: Can't open file: './my_db/content_node_field_instance.frm' (errno: 24) when using LOCK TABLES
Searching around I've found that this happens because it tries to…
Hi,
I would like to know if it is possible to read $_SESSION attributes without locking it.
Currently, session_start() locks SESSION, that means other PHP processes will wait until it is unlocked.
But, some processes just want to get some $_SESSION variables, not to write on them.
Is that possible to…
I have a function in a MySQL Database that determines some sync parameters for a mobile device. The function determines the last date/time the user synchronized with the database. During my sync operation I call this server side function twice. As soon as I call it the second time - the entire…
We're currently running into an issue with an Access 2007 database for a client. They've got Excel 2007 documents attached to records within the database. Whenever changes to the document are made, they are overwriting each other, and we're not sure exactly why. This is happening with…