Skip to content
WasFor
ઘરે પાછા

મુશ્કેલીનિવારણ

મોટાભાગની ઘટનાઓ નાની સંખ્યામાં દાખલાઓમાં આવે છે. લક્ષણથી સ્તર સુધી કામ કરો, આદેશ સાથે પુષ્ટિ કરો, પછી સૌથી નાનો સુધારો લાગુ કરો.

લક્ષણ મેટ્રિક્સ

લક્ષણસંભવિત સ્તરપ્રથમ તપાસ
502 Bad GatewayPHP-FPM અથવા અપસ્ટ્રીમPHP-FPM પૂલ સ્થિતિ, ભૂલ લોગ
503 Service Unavailableજાળવણી મોડ અથવા ઓવરલોડપેનલ જાળવણી ધ્વજ, લોડ એવરેજ
504 Gateway Timeoutઅપસ્ટ્રીમ ખૂબ ધીમુંmax_execution_time, ધીમી ક્વેરીઝ
500 Internal Server Errorઅરજીસાઇટ ભૂલ લોગ, display_errors બંધ
સાઇટ અગમ્યDNS અથવા ફાયરવોલdig, curl -I, પોર્ટ 80/443
SSL ભૂલપ્રમાણપત્રસમાપ્તિ, સાંકળ, હોસ્ટનામ મેળ ખાતું નથી
મેઇલ સ્થગિતDNS અથવા ક્વોટાSPF/DKIM, મેઈલબોક્સ ક્વોટા, કતાર
ડિસ્ક ભરાઈ ગઈસંગ્રહdf -h, સૌથી મોટી ડિરેક્ટરીઓ
નીચે પેનલપેનલ સેવાsystemctl status wasfor-panel

502 ખરાબ ગેટવે

વેબ સર્વર PHP-FPM સુધી પહોંચી શક્યું નથી.

bash
systemctl status php8.3-fpm --no-pager
tail -n 100 /home/acme/sites/app.example.com/logs/error.log
ss -lntp | grep fpm
કારણઠીક કરો
FPM પૂલ ક્રેશ થયોપૂલ પુનઃપ્રારંભ કરો; ક્રેશ લોગનું નિરીક્ષણ કરો
સોકેટ પાથ મેળ ખાતો નથીસાઇટ PHP સંસ્કરણને ફરીથી લાગુ કરો
યાદશક્તિ ખતમ થઈ ગઈmemory_limit લોઅર કરો અથવા RAM ઉમેરો
કાર્યકર સમયસમાપ્તિrequest_terminate_timeout કાળજીપૂર્વક ઉભા કરો

500 આંતરિક સર્વર ભૂલ

એપ્લિકેશન નિષ્ફળ થઈ. display_errors ને બદલે લોગીંગ ચાલુ કરો:

bash
tail -f /home/acme/sites/app.example.com/logs/error.log
grep -i "PHP Fatal" /home/acme/sites/app.example.com/logs/error.log | tail -20

સામાન્ય કારણો: PHP એક્સ્ટેંશન ખૂટે છે, ખોટી ફાઇલ પરવાનગીઓ, જૂની રૂપરેખા કેશ, નિષ્ફળ સ્થાનાંતરણ. કારણને ઠીક કરો, પછી કેશ સાફ કરો.

504 ગેટવે સમયસમાપ્ત

વિનંતી સમયસમાપ્તિને વટાવી ગઈ છે. ત્રણ મૂલ્યોની તુલના કરો:

text
Client / proxy timeout   ≥ max_execution_time
max_execution_time       ≥ expected work
Database query time      < max_execution_time

લાંબી નોકરીઓ કતારમાં કામ કરનારની છે, વેબ વિનંતીમાં નહીં.

DNS અને પહોંચની ક્ષમતા

bash
dig +short app.example.com A
dig +short app.example.com AAAA
curl -I -H "Host: app.example.com" http://203.0.113.10

જો સ્થાનિક Host વિનંતી કામ કરે છે પરંતુ ડોમેન નિષ્ફળ જાય છે, તો સમસ્યા DNS અથવા એજ ફાયરવોલની છે, એપ્લિકેશનની નહીં.

SSL નિષ્ફળતાઓ

bash
openssl s_client -connect app.example.com:443 -servername app.example.com </dev/null 2>/dev/null \
  | openssl x509 -noout -dates -subject -issuer
સંદેશઅર્થ
certificate has expiredનવીકરણ નિષ્ફળ થયું; ફરીથી મુદ્દો
unable to verify the first certificateઅપૂર્ણ સાંકળ
certificate is valid for …હોસ્ટનામ મેળ ખાતું નથી; ઉપનામ ઉમેરો

મેઇલ સ્થગિત

bash
mailq | tail -20
grep -i "deferred" /var/log/mail.log | tail -30

SPF/DKIM/DMARC, મેઇલબોક્સ ક્વોટા અને ગંતવ્ય તમને દર-મર્યાદિત કરી રહ્યું છે કે કેમ તે તપાસો. આઉટબાઉન્ડ વોલ્યુમમાં અચાનક સ્પાઇકનો અર્થ સામાન્ય રીતે સમાધાન થયેલ એકાઉન્ટ અથવા સ્ક્રિપ્ટ થાય છે.

ડિસ્ક ભરાઈ ગઈ

bash
df -h
du -xh --max-depth=1 /home | sort -h | tail -10
du -xh --max-depth=1 /var/log | sort -h | tail -10

લૉગ્સ ફેરવો, જૂના સ્નેપશોટ સાફ કરો અને ભાગેડુ બેકઅપ માટે તપાસો. /var/lib/mysql ફાઇલોને હાથથી ક્યારેય ડિલીટ કરશો નહીં.

ડેટાબેઝ કનેક્શન ભૂલો

bash
systemctl status mariadb --no-pager
mysqladmin status -u root -p
ભૂલઅર્થ
Too many connectionsmax_connections વધારો અથવા કનેક્શન લીક્સ ઠીક કરો
Access deniedખોટો વપરાશકર્તા, હોસ્ટ અથવા પાસવર્ડ
Disk fullડિસ્ક વિભાગ જુઓ
Table is marked as crashedપુનઃસ્થાપિત કરો અથવા બંધ થયેલા સર્વર પર રિપેર ચલાવો

પેનલ લોડ થઈ રહી નથી

bash
systemctl status wasfor-panel --no-pager
journalctl -u wasfor-panel -n 200 --no-pager
curl -sk https://127.0.0.1:<port>/api/health

જો હેલ્થ એન્ડપોઇન્ટ જવાબ આપે છે પરંતુ UI ખાલી છે, તો બ્રાઉઝર કન્સોલ અને સ્ટેટિક એસેટ કેશ તપાસો. પેનલ કેશ સાફ કરો અને ફરીથી લોડ કરો.

એસ્કેલેશન

ટિકિટ ખોલતા પહેલા એકત્રિત કરો:

  • ટાઇમઝોન સાથે ચોક્કસ ટાઇમસ્ટેમ્પ.
  • ID અને અસરગ્રસ્ત URL ની વિનંતી કરો.
  • સંબંધિત લોગ અવતરણો.
  • ઘટના પહેલા તરત જ શું બદલાઈ ગયું.
  • પગલાંઓ પહેલાથી જ પ્રયાસ કર્યા છે.

ટિકિટની પ્રાથમિકતાઓ અને પ્રતિભાવ લક્ષ્યો માટે AI & support જુઓ.

છેલ્લે અપડેટ કર્યું: 2026-12-01