Showing posts with label bad. Show all posts
Showing posts with label bad. Show all posts
Tuesday, March 21, 2017
Nginx error 502 Bad Gateway ZF2 APC and segmentation fault
Nginx error 502 Bad Gateway ZF2 APC and segmentation fault
I tried Zend Framework 2 for my last project. When everything was done with development I moved project to production server but every time I tried to open project url in bowser Nginx returned an error:
502 bad gateway
Server is running under Debian, also I have installed Nginx(1.2.6) + PHP(5.3.20) and PHP-FPM.
Increasing buffer size and read timeout value in Nginx config had no results, still 502 error. Ive looked into Nginx logs and found next entries:
recv() failed (104: Connection reset by peer) while reading response header from upstream ...
So, it seems that problem is not in Nginx config. Something is wrong with backend. PHP-FPM log contains plenty of entries like next:
php5-fpm.log:
WARNING: [pool www] child 7050 exited on signal 11 (SIGSEGV) after 14.101753 seconds from start
Well, something is causing segmentation fault. Im hosting a lot of projects on this server and everything was fine, problem appeared only for the last project that was developed using ZF2.
Googling a little bit, I found that some of PHP extensions can cause segmentation fault. One by one I started disabling PHP-extensions. After I disabled APC extension problem disappeared and everything started working fine. So, disabling APC extension helped to solve the problem and seems that ZF2 has some problems with APC, or APC has some problems with ZF2 :)
Will try to make some research what exactly was the reason of this problem and post here if Ill find something interesting.
Available link for download
Monday, March 20, 2017
Sunday, March 5, 2017
Friday, February 17, 2017
Nic November Bad Lieutenant Port of Call New Orleans and Face Off
Nic November Bad Lieutenant Port of Call New Orleans and Face Off

First of all, my apologies. Ive been away from the blog for the past few days to focus on studying, and now those exams are all over. I did put a status up on Facebook, but because theyve brought in those retarded new things so only 10% of my likers can see my stuff pop up on their newsfeed, I doubt anyone saw it. Yay Facebook. Alas, Nic November is a day later, but I think Nicolas Cage films are just what I need to empty my brain out of all the biology stuff Ive taught myself in the past three days. Now, aside from my Drama exam which wont take a lot of effort, I can run around the streets shouting out that "Im a vampire!", reciting the alphabet in a very angry way and generally yelling and tearing stuff down. People underestimate the awesomeness in which Vampires Kiss has bestowed upon people who no longer have to remember a whole lot of foreign terms.
Alas, we aint talking about Vampires Kiss here. Were talking about one of Nics last good roles in Bad Lieutenant: Port of Call New Orleans and one of everyones favourite 90s action films Face/Off. Which I apparently should have seen ages ago. Oops.

The Hairstyle: The Carefree Wind Sweeping
So anyway, I suppose that The Bad Lieutenant: Port of Call New Orleans was the last real meaty Cage Rage role. Seeking Justice, Trespass and Stolen all kind of melded into one, no-one remembers that Ghost Rider: Spirit of Vengeance exists, Drive Angry, Season of the Witch and The Sorcerers Apprentice were all fairly muted and apart from the "now SWIIIIIIITCH, to KRYPTONIIIIIIIIIIIIIIIIIITE!" scene in Kick-Ass, there wasnt a lot of Cage Rage to be had over the poorly chosen places to put emphasis on his words. So yes, Werner Herzogs non-remake Bad Lieutenant: Port of Call New Orleans it is.
So wow. Bad Lieutenant: Port of Call New Orleans (I dont know why Im still writing that ridiculously long title) wasnt just high for Cage Rage levels, it was high for general rage levels. Thats probably because I was mega tired while watching this, so I pretty much had no idea of what was going on. Basically, Nic plays Terrence McDonagh, a lieutenant who is, well, bad, and is trying to investigate the killings of five Sengalese immigrants. All the while he gets high a lot. I would say that only Cage could get away with half of the stuff that he is seen doing on here, but things do get a little too strange, namingly that interesting carpark sex scene that has practically scarred me for life. That being said, I did like Cage here. He was wonderfully off the chain. Plus, I liked all the post-Katrina stuff going on in this film. And Val Kilmer was in here. All we needed was Ray Liotta and this would have been a real feast for my LOL bones. (that being said, I didnt really mind Kilmer either)
One thing I do have to ask, though: what was with all of the reptile stuff? Like the weird shots of that crocodile (?). I feel like that was some symbolism, but I totally missed it.

Cage Rage:

The Hairstyle: The Barely There
Face/Off is a film I totally enjoyed, though. And I honestly wasnt expecting to, given my aversion to most 90s action films - which means that I probably wouldnt have watched this film had I not been doing this marathon thing. So yes, Nicolas, I have to thank you for introducing me to this little gem of an action film.
One thing I was not expecting, though, was Nicolas and John Travolta to literally swap roles. From the beginning, I was thinking that this was some more typical Cage Rage, in the vein of Vampires Kiss. And then John Travolta became Nicolas Cage, and Nicolas Cage then became John Travolta. Which I guess I thought was pretty disappointing because I always love a bit of Cage Rage, but it was fairly entertaining to see John Travolta do his best Nicolas Cage. So for the rest of the film, we had Travolta being all crazy and Nicolas Cage being given the more sentimental, nice guy role. And to be honest, he actually nailed it. He was given his chance to go crazy at the beginning (and that craziness would have been enough to last an entire film), and then he got to be somewhat settled down for the rest of it. The guy nearly made me cry, for heavens sake.
I think this movie really succeeds because it is the ultimate test of good and evil, but it is given the flair of an above average blockbuster. I just thought it was really cool. And damn entertaining. Probably everything a blockbuster should be.

Cage Rage:
What do you think of these films? Are you a fan of Bad Lieutenant, or is Face/Off more your bag?
Available link for download
Sunday, February 5, 2017
No sex causes bad eyes e inadimplência inacreditavelmente parte 2
No sex causes bad eyes e inadimplência inacreditavelmente parte 2
Recomendo, para a melhor apreciação deste post que se visite a primeira parte aqui: parte 1
De: Gregória de Matos
Enviada em: terça-feira, 12 de julho de 2011 11:06
Para: Luis Di Vasca
Assunto: Cartão de visitas
Oi querido, como vai? lembra de mim? fechei um cartão de visitas com você. Era exatamente dele que eu queria falar, eu e minhas amigas adoramos os grafismos da polinésia, ficou bem como eu queria, acontece que tenho perdido muitos clientes e meu gato não respondeu muito bem aos grafismos, eles são criaturas místicas bem ligadas ao plano astral então consutei o astral e descobri que era isso mesmo, lembro que você tinha me dito que era um símbolo que trazia coisas boas a quem o possuísse, na verdade eu vasculhei a internet inteirinha e não achei nada parecido, você tem certeza que era isso mesmo? será que não era outra coisa? uma coisa que posso te dizer é que temos tomar muito cuidado com símbolos. Então gostaria de te pedir pra mudar o desenho, tem como fazer algo meio egípcio assim? porque assim já posso consultar o astral logo de cara e decidir pelo uso.
De: Luis Di Vasca
Enviada em: terça-feira, 12 de julho de 2011 15:42
Para: Gregória de Matos
Assunto: RE: Cartão de visitas
Olá Gregória, tudo bom?
Lembro-me perfeitamente da senhora, com certeza, como haveria de esquecer? Acho até que nossa conversa anda sendo observada por algumas entidades com poderes místicos que realmente não acreditarão ao saber desse nosso novo contato. O gato não aprovou a Arte? Confesso que quando percebi que queria alterações eu não imaginava que fosse tão sério assim, mas agora vejo que tem um veredito preciso e confiável. Bem, eu disse que eram grafismos de uma milenar tribo filipina, não está em parte alguma da internet porque pertence aos manuscritos secretos traduzidos pessoalmente pelo King Size do Rio de Janeiro e que traria justiça a quem o possuísse, se tem algo errado com os resultados, imagino que existe algo pendente que o alinhamento energético dos desenhos trouxe, pense bem: Você não está com algo pendente? uma dívida talvez? Entendo quando diz que temos tomar muito cuidado com símbolos, mas digo que quando uma regra de ouro é violada o caos vai tomar conta e a harmonia é quebrada. Vou refazer o cartão com algo "meio egípcio" com certeza, enquanto o desenho não fica pronto gostaria de uma consulta com você, como uma cortesia pra mim, pode ser?
Atenciosamente,
Di Vasca
De: Gregória de Matos
Enviada em: quinta-feira, 14 de julho de 2011 20:29
Para: Luis Di Vasca
Assunto: RE: RE: Cartão de visitas
Oi Querido, não costumo fazer consultas como cortesia, mas tudo bem, podemos fechar como pagamento dessas alterações. Pode fazer uma consulta sim. Você vem aqui? esse é o tipo de trabalho que não podemos fazer à distância.
De: Luis Di Vasca
Enviada em: quinta-feira, 14 de julho de 2011 23:32
Para: Gregória de Matos
Assunto: RE: RE: RE: Cartão de visitas
Olá Gregória, tudo bom?
Certamente não será feito à distância, apenas não será comigo, eu já estou bem. Já me livrei daquele problema de desenrugamento de pele causado pelo trabalho do moreno com finalidade de transformar em cobra meu corpo bonito e estadual. Será para o "fornalha" um amigo que acabou de sair da cadeia, ele tem um sério problema em lidar com o desconhecido e quando se assuta fica desnecessaria e desproporcionalmente violento, ele me disse inclusive que ainda sente a jugular daquela cartomante na ponta da faca dele. Quando pensei na consulta com a senhora imaginei que poderia trabalhar esta questão com ele e mostrar que o desconhecido não precisa necessariamente o assustar, poderia a senhora, inclusive, colocar o seu gatinho pra lhe mostrar suas habilidades místicas ligadas ao astral. Que bom que aceitou, só preciso do seu endereço.
Atenciosamente,
Di Vasca
De: Luis Di Vasca
Enviada em: segunda-feira, 18 de julho de 2011 21:40
Para: Gregória de Matos
Assunto: RE: RE: RE: Cartão de visitas
Olá Gregória, tudo bom?
Como combinamos a consulta? me passe o endereço, por favor.
Atenciosamente,
Di Vasca
De: Gregória de Matos
Enviada em: terça-feira, 19 de julho de 2011 08:50
Para: Luis Di Vasca
Assunto: RE: RE: RE: RE: Cartão de visitas
Oi, sabe o que é, eu não vou precisar do cartão mais, obrigada. Eu dei um jeito aqui, mesmo assim muito obrigada!
A conversa deste post foi a primeira mantida enquanto o blog já estava no ar, e agradeço à @lara_c_freitas e @pandorf que ajudaram a ter ideias via twitter para as respostas nesse surreal novo contato.
Available link for download
Labels:
2,
bad,
causes,
e,
eyes,
inacreditavelmente,
inadimplência,
no,
parte,
sex
Subscribe to:
Posts (Atom)