Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

342
Vistas
PHP / Connect to backend failed with CONNECTION_RESET on sending request

So i was building a very simple login script in PHP. My form.php file contains HTML as well as PHP script. It has a "password" input field. Upon submitting it does a post-action to itself(form.php). In the very top of the file I have used the following code. If password is correct, the script uses javascript to forward the user to another page. If the password is incorrect the user sees the form.php again.

Unfortunately, now and then (10% of the times that users view form.php), users get an error message that the website has reached the memory limit (which is clearly not the case). I also double checked this with my hosting-provider.

In my logs it says it has something to do with memory, see message at the bottom. My provider says it has something to do with my PHP. What do you guys think?

thx, Joost

<!-- 
  form.php: single possibility sign in
-->
<?php
  if(isset($_POST['password']))
  {
    $password = $_POST['password'];
    if ($password == "thisismypassword")
    {
      echo "<script>alert(\"Password correct.\"); window.location.href=\"004_nextpage/index.html\";</script>";
    }
    else
    {
      echo "<script>alert(\"Wrong password. Try again!\");</script>";
    }
    
  }
?>

[Tue Oct 05 08:35:49.349308 2021] [lsapi:error] [pid 3623342:tid 140618344843008] [client xxx.xxx.xxx.xxx:53384] [host www.example.com] Connect to backend failed with CONNECTION_RESET on sending request(GET /form.php HTTP/2.0); uri(/form.php): ReceiveAckHdr: backend reset connection: errno 104 (possibly memlimit for LVE ID 2171 too small), check http://docs.cloudlinux.com/mod_lsapi_troubleshooting.html, referer: https://www.example.com/mypage/index.html

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda