I am running a quite large WordPress multisite installation with apache2 and php-fcgi. We are executing php-fcgi via a wrapper script because some time ago, we needed to support different versions.
I’ve got a problem that I do not know how to debug anymore: Over time, lots of php-fcgi instances spawn that never get killed. All multisites use more or less the same setup, but unfortunately they all run under the same user (not a good idea I know), so I cannot even track down if it’s one multisite or multiple causing the issue. This leads to extreme high memory usage until after some days, apache crashes.
This is the relevant part of the vhost setup:
Options All ExecCGI AddHandler fcgid-script .php <Directory /..> Options -Indexes +FollowSymLinks +Includes +ExecCGI FCGIWrapper /*/php-fcgi/php-fcgi-starter .php </Directory>
And this is the php-fcgi-starter:
#!/bin/sh PHPRC="**/conf/" export PHPRC export TMPDIR=**tmp exec /usr/bin/php-cgi
Does anybody have an idea what the issue might be or how to debug this (e.g. pin it down to a specific script)? The logs are not helping.
Thank you so much.
I have been wondering about to what degree the info can be stolen if someone hacks into Google. Suppose an attacker got access to all of Google’s data. Let’s assume my Google password is good enough that they couldn’t guess it, so that dictionary attacks and the like would fail.
How likely is it that they would be able to get at passwords that are in the Google password manager?
Cheap custom essay about hate speech research paper about substance abuse
Order a custom-written paper of high quality
Essay Writing Help Online – SEE MORE
Osaka splits with coach weeks after Australian Open win Pictured Student, 17, 'with dreams of being a…
Thesis printing research paper about lack of self confidence
The standards of rigour in mathematics have increased several times during history. In the process some statements, previously considered correct where refuted. I wonder if these wrong statements were “applied” anywhere before (or after) refutation to some harmful effect. For example, has any bridge fallen because every continuous function was thought to be differentiable except on a set of isolated points?
Sorry if this is a silly question.
The pain that I’ve often felt when creating database migration files, is best described in this Speakerdeck: Sane Database Change Management with Sqitch.
- Paste entire function to new “up” script
- Edit the new file
- Copy the function to the new “down” script
- Three copies of the function!
And I end up with no clear diff of the function that I can easily git-blame to understand the change later in time.
I feel too that
sync-based approach to schema migrations is much better.
I stand before this new greenfield project (as the only developer). The stack I’ve chosen is Postgres (on AWS RDS), Node.js, Express, Apollo (GraphQL) and React (on Heroku).
I have read about sqitch and migra, but never used them. Are those the cure to the pain I’ve felt? Are they compatible with the stack I’m using for this new project or what other sync-based migration tool is best compatible with this stack?
My current workflow is like this. Dev and production database models are the same. A new story arrises. An existing database function needs to be altered. I create a new migration file. I copy the function that needs to be altered into the “up” and again into the “down” part of the new migration. I commit. I alter the “up” part. I commit (creates diff).
This all feels very verbose just when only a few lines in the function needed to be changed. Ideally, I have the whole schema in code in git. I alter the schema. I commit (creating a diff in git history). A tool then helps to generate the required SQL statements and makes a new up and down migration file for me. I don’t mind that I need to verify the generated migration file.
what is your recommended solution for our mobile Customer service mobile app? We have a live chat that caters all the concerns of our customers but the problem is, we just have a limited number of agents available so definitely, some customers need to wait. What do you think is the best solution to inform them that the queue is quite long and they need to wait (in a way that they will not get mad and understand the situation). Thanks!
I’m fairly new to photography, and I own a Canon Rebel T6i. Besides manual mode I’ve learned about Tv and Av modes, which to be honest I really liked, mainly when I’m shooting on events with changing lighting conditions and I’m find myself too slow to change the settings for every shot. I like the idea of the Av mode very much for event photography, however the last time that I tried I had a huge problem, the shutter speed was too slow (I was using a 24mm f2.8 pancake lens) so when I got home I find out that most pictures were taken at 1/25 sec, even some at 1/60 were blurry, given that I don’t have super steady hands and people were moving.
After some research I found out that some cameras allow you to set a minimum shutter speed when in Av mode. However my camera doesn’t seem to have that option. I would like to set the minimum shutter speed to at least 1/125 (1/200, would be the best for me right now), but I can’t. So I often find myself shooting events at Tv with a shutter speed of 1/125 or 1/200, but the results aren’t ideal since I can’t control the aperture.
What I’ve tried lately to try to compensate for the lack of a minimum shutter speed in Av mode is to set the camera to manual with ISO on auto. This way I can set the minimum shutter speed (but I’m stuck to it, if the lighting conditions improve I could be taking pictures at a higher shutter speed) and I have the control of the aperture, leaving the ISO to balance the exposure. Far from ideal, I would guess, however is there a better way to achieving this with my Rebel T6i?
I know I could just be using full manual, but as a beginner it can get pretty awkward to have people in events posing and waiting for the to find the best exposure in full manual. Is there a better way to do this or should I just embrace full manual.
there’s something that confuses me, in Computer System Architecture(Morris Mano), Chapter 5, the book uses a simple microprocessor which has the following instruction cycle:
e.g. LDA Operation:
But the lack of notation MBR and MAR confuses me. In my opinion, it should be like this:
What am I doing wrong?