• Почему падает apache?

    @zeleniy87 Автор вопроса
    да там ничего нет особенного, пройстейшие html теги и кусок php, выводит из базы фамилию клиента, эта страничка-попрошайка (заглушка) для клиентов, попробовал увеличить maxclients и serverlimit до 500, полчаса наблюдаю, вижу в error.log крешится иногда, но это уже не влияет на скорость открытия странички, как было до этого. Статью сегодня просматривал, но все равно спасибо.
  • Почему падает apache?

    @zeleniy87 Автор вопроса
    GNU gdb (Ubuntu 7.8-1ubuntu4) 7.8.0.20141001-cvs
    Copyright (C) 2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-linux-gnu".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    .
    Find the GDB manual and other documentation resources online at:
    .
    For help, type "help".
    Type "apropos word" to search for commands related to "word"...
    Reading symbols from /usr/sbin/apache2...Reading symbols from /usr/lib/debug//usr/sbin/apache2...done.
    done.
    [New LWP 4294]
    [New LWP 4300]
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    Core was generated by `/usr/sbin/apache2 -k start'.
    Program terminated with signal SIGSEGV, Segmentation fault.
    #0 0x00007f254a2027f6 in i_create_execute_data_from_op_array (nested=, op_array=) at /build/buildd/php5-5.5.12+dfsg/Zend/zend_execute.c:1631
    #0 0x00007f254a2027f6 in i_create_execute_data_from_op_array (nested=, op_array=) at /build/buildd/php5-5.5.12+dfsg/Zend/zend_execute.c:1631
    execute_data = 0xbd558fc9c4c5b1b3
    CVs_size = 128
    Ts_size = 13642968742941274547
    total_size = 0
    #1 zend_execute (op_array=0x7f254e1c30c0) at /build/buildd/php5-5.5.12+dfsg/Zend/zend_vm_execute.h:388
    No locals.
    #2 0x00007f254a14c3b0 in zend_execute_scripts (type=1310470336, typeEntry=2, retval=0x33, retvalEntry=0x0, file_count=-993676565, file_countEntry=1) at /build/buildd/php5-5.5.12+dfsg/Zend/zend.c:1316
    files = {{gp_offset = 32, fp_offset = 32549, overflow_arg_area = 0x7fff52540880, reg_save_area = 0x7fff52540810}}
    i = 0
    file_handle = 0x7fff525408e0
    #3 0x00007f254a2061ed in php_handler (r=) at /build/buildd/php5-5.5.12+dfsg/sapi/apache2handler/sapi_apache2.c:669
    zfd = {type = ZEND_HANDLE_FILENAME, filename = 0x7f254e1201e8 "/var/www/html/redirect/index.php", opened_path = 0x0, handle = {fd = 1309804072, fp = 0x7f254e120628, stream = {handle = 0x7f254e120628, isat$
    __orig_bailout = 0x0
    __bailout = {{__jmpbuf = {139798200332448, 8460722105724164118, 139798200332448, 139798204796864, 0, 139798200631952, -8461101216598861802, -8421711866712696810}, __mask_was_saved = 0, __saved_mask = {__v$
    ctx = 0x7f254e142d10
    conf =
    brigade = 0x7f254e13b4c8
    bucket =
    rv =
    parent_req = 0x7f254e1410a0
    #4 0x00007f254e3203f0 in ap_run_handler (r=0x7f254e1230a0) at config.c:169
    pHook = 0x7f254e20ed10
    n = 2
    rv = 0
    #5 0x00007f254e320939 in ap_invoke_handler (r=rEntry=0x7f254e1230a0) at config.c:433
    handler =
    p =
    result =
    old_handler = 0x7f254e21b488 "application/x-httpd-php"
    ignore =
    #6 0x00007f254e335eea in ap_process_async_request (r=0x7f254e1230a0) at http_request.c:317
    access_status = 0
    #7 0x00007f254e3361c4 in ap_process_request (r=rEntry=0x7f254e1230a0) at http_request.c:363
    bb =
    b =
    c = 0x7f254e16c290
    rv =
    #8 0x00007f254e332c92 in ap_process_http_sync_connection (c=0x7f254e16c290) at http_core.c:190
    r = 0x7f254e1230a0
    cs = 0x0
    csd = 0x7f254e16c0a0
    mpm_state = 1
    #9 ap_process_http_connection (c=0x7f254e16c290) at http_core.c:231
    No locals.
    #10 0x00007f254e329a10 in ap_run_process_connection (c=0x7f254e16c290) at connection.c:41
    pHook = 0x7f254e209200
    n = 0
    rv = 0
    #11 0x00007f254e329df8 in ap_process_connection (c=cEntry=0x7f254e16c290, csd=) at connection.c:203
    rc =
    #12 0x00007f254ab31767 in child_main (child_num_arg=child_num_argEntry=107) at prefork.c:704
    current_conn = 0x7f254e16c290
    csd = 0x7f254e16c0a0
    thd = 0x7f254e16e0a0
    osthd = 139798201988992
    ptrans = 0x7f254e16c028
    allocator = 0x7f254fa905b0
    status =
    i =
    lr =
    pollset = 0x7f254e16e158
    sbh = 0x7f254e16e150
    bucket_alloc = 0x7f254e145028
    last_poll_idx = 0
    lockfile =
    #13 0x00007f254ab319a6 in make_child (s=0x7f254e28dde0, slot=107) at prefork.c:800
    pid = 0
    #14 0x00007f254ab3260e in perform_idle_server_maintenance (p=) at prefork.c:902
    i =
    idle_count =
    ws =
    free_length =
    free_slots = {102, 107, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94}
    last_non_dead =
    total_non_dead =
    #15 prefork_run (_pconf=, plog=, s=) at prefork.c:1090
    status = 0
    pid = {pid = -1, in = 0x7f254e340f20, out = 0xa, err = 0x7f254d9efff6}
    child_slot =
    exitwhy = APR_PROC_EXIT
    processed_status =
    index =
    remaining_children_to_start = 0
    rv =
    #16 0x00007f254e30698e in ap_run_mpm (pconf=0x7f254e2b5028, plog=0x7f254e289028, s=0x7f254e28dde0) at mpm_common.c:94
    pHook = 0x7f254e209568
    n = 0
    rv = 0
    #17 0x00007f254e300166 in main (argc=3, argv=0x7fff525410b8) at main.c:777
    c = 0 '\000'
    showcompile = 0
    showdirectives = 0
    confname = 0x7f254e3404e3 "apache2.conf"
    def_server_root = 0x7f254e3404d6 "/etc/apache2"
    temp_error_log = 0x0
    error =
    process = 0x7f254e2be118
    pconf = 0x7f254e2b5028
    plog = 0x7f254e289028
    ptemp = 0x7f254e28b028
    pcommands = 0x7f254e293028
    opt = 0x7f254e293118
    rv =
    mod = 0x7f254e562160
    opt_arg = 0x7f254e2be028 "( ,N%\177"
    signal_server =
  • Почему падает apache?

    @zeleniy87 Автор вопроса
    root@server:~# gdb /usr/sbin/apache2 -c /tmp/apache-coredumps/core --eval-command='set pagination off' --eval-command='set pagination off' --eval-command='bt full' --eval-command='quit' >> /tmp/apache-coredumps/gdb-bt.log
    1631 /build/buildd/php5-5.5.12+dfsg/Zend/zend_execute.c: No such file or directory.
  • Почему падает apache?

    @zeleniy87 Автор вопроса
    (gdb) --eval-command='set pagination off' \
    Undefined command: "--eval-command". Try "help".
    (gdb) --eval-command='bt full' \
    Undefined command: "--eval-command". Try "help".
    (gdb) --eval-command='quit' >> /tmp/apache-coredumps/gdb-bt.log
    Undefined command: "--eval-command". Try "help".
  • Железо для кодирования FULL HD

    @zeleniy87 Автор вопроса
    ну и как бы с драйверами вопрос
  • Железо для кодирования FULL HD

    @zeleniy87 Автор вопроса
    о, спасибо за наводку
  • Маршрутизация дополнительного IP. Debian?

    @zeleniy87
    в каких целях используется 2 адрес?
  • Postfix возврат письма при неудачной доставке

    @zeleniy87 Автор вопроса
    сервер находится за nat, порты проброшены
  • Postfix возврат письма при неудачной доставке

    @zeleniy87 Автор вопроса
    Apr 15 15:54:02 www postfix/pickup[9631]: 3852B3628A8: uid=33 from=<example@example.org>
    Apr 15 15:54:02 www postfix/cleanup[9853]: 3852B3628A8: message-id=<e33ae6ddc6cbbc75410b26038f3db58c@example.org>
    Apr 15 15:54:02 www postfix/qmgr[2963]: 3852B3628A8: from=<example@example.org>, size=515, nrcpt=1 (queue active)
    Apr 15 15:54:03 www dovecot: imap-login: Login: user=<example@example.org>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=9864, secured
    Apr 15 15:54:11 www postfix/trivial-rewrite[9857]: warning: do not list domain brt.ua in BOTH mydestination and virtual_mailbox_domains
    Apr 15 15:54:11 www postfix/smtpd[9873]: A5E473628A1: client=localhost[127.0.0.1]
    Apr 15 15:54:11 www postfix/cleanup[9853]: A5E473628A1: message-id=<e33ae6ddc6cbbc75410b26038f3db58c@example.org>
    Apr 15 15:54:11 www amavis[2731]: (02731-03) Passed CLEAN, <example@example.org> -> <example@gmail.com>, Message-ID: <e33ae6ddc6cbbc75410b26038f3db58c@example.org>, mail_id: W1HK+NOU4n11, Hits: -0.001, size: 515, queued_as: A5E473628A1, 9248 ms
    Apr 15 15:54:11 www postfix/smtp[9859]: 3852B3628A8: to=<example@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=9.8, delays=0.51/0/0/9.2, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A5E473628A1)
    Apr 15 15:54:11 www postfix/qmgr[2963]: A5E473628A1: from=<example@example.org>, size=926, nrcpt=1 (queue active)
    Apr 15 15:54:11 www postfix/qmgr[2963]: 3852B3628A8: removed
    Apr 15 15:54:43 www postfix/smtp[9875]: A5E473628A1: to=<example@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.70.26]:25, delay=32, delays=0.26/0.07/0.46/31, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[173.194.70.26] said: 550-5.7.1 [194.11.28.1       1] Our system has detected an unusual rate of 550-5.7.1 unsolicited mail originating from your IP address. To protect our 550-5.7.1 users from spam, mail sent from your IP address has been blocked. 550-5.7.1 Please visit http://www.google.com/mail/help/bulk_mail.html to review 550 5.7.1 our Bulk Email Senders Guidelines. t4si28661604eeg.120 - gsmtp (in reply to end of DATA command))
    Apr 15 15:54:43 www postfix/cleanup[9853]: 948073628B9: message-id=<20130415125443.948073628B9@example.org>
    Apr 15 15:54:43 www postfix/bounce[10147]: A5E473628A1: sender non-delivery notification: 948073628B9
    Apr 15 15:54:43 www postfix/qmgr[2963]: 948073628B9: from=<>, size=3541, nrcpt=1 (queue active)
    Apr 15 15:54:43 www postfix/trivial-rewrite[9857]: warning: do not list domain brt.ua in BOTH mydestination and virtual_mailbox_domains
    Apr 15 15:54:43 www postfix/local[10148]: 948073628B9: to=<example@example.org>, relay=local, delay=0.43, delays=0.27/0/0/0.17, dsn=5.1.1, status=bounced (unknown user: "example")
    
  • Postfix возврат письма при неудачной доставке

    @zeleniy87 Автор вопроса
    при отправке писем с моего сервера на gmail.com сообщение попадает в лог сервера, а не в почтовый ящик отправителя
  • Postfix возврат письма при неудачной доставке

    @zeleniy87 Автор вопроса
    сервер отвечает 550, когда ставил iredmail то письма приходили мгновенно, щас в ручную ставил постфикс и настраивал
  • Postfix возврат письма при неудачной доставке

    @zeleniy87 Автор вопроса
    сообщение с ошибкой появляется в логах, хотелось бі чтобі приходило пользователю в ящик
  • Postfix возврат письма при неудачной доставке

    @zeleniy87 Автор вопроса
    да появляются, даже шлют на несуществующие ящики типа 111@example.org
  • Postfix возврат письма при неудачной доставке

    @zeleniy87 Автор вопроса
    # See /usr/share/postfix/main.cf.dist for a commented, more complete version
    
    
    # Debian specific:  Specifying a file name will cause the first
    # line of that file to be used as the name.  The Debian default
    # is /etc/mailname.
    #myorigin = /etc/mailname
    
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    biff = no
    
    # appending .domain is the MUA's job.
    append_dot_mydomain = no
    
    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h
    
    readme_directory = /usr/share/doc/postfix
    
    # TLS parameters
    smtpd_tls_cert_file = /etc/postfix/smtp.crt
    smtpd_tls_key_file = /etc/postfix/smtp.key
    smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    
    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.
    
    myhostname = example.org
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination = example.org, localhost, localhost.localdomain
    relayhost = 
    mynetworks = 127.0.0.0/8
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    html_directory = /usr/share/doc/postfix/html
    inet_protocols = ipv4
    virtual_alias_domains = 
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_mailbox_base = /home/vmail
    virtual_uid_maps = static:5000
    virtual_gid_maps = static:5000
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
    smtpd_tls_auth_only = yes 
    smtpd_tls_cert_file = /etc/ssl/certs/brt.crt 
    smtpd_tls_key_file = /etc/ssl/private/brt.key
    content_filter = amavis:[127.0.0.1]:10024
    receive_override_options = no_address_mappings
    
    strict_rfc821_envelopes = yes 
    disable_vrfy_command = yes 
    smtpd_delay_reject = yes 
    smtpd_helo_required = yes 
    smtpd_client_restrictions = sleep 1, reject_unauth_pipelining, permit_sasl_authenticated, permit_mynetworks,  reject_unknown_client_hostname, permit 
    smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, reject_unknown_helo_hostname, permit 
    smtpd_sender_restrictions =  permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_sender, reject_unknown_sender_domain, permit 
    smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:10023, permit
    
    


    postconf -n|grep bounce в ответ ничего не выдает
  • VLC и бегущая строка?

    @zeleniy87 Автор вопроса
    пробовал rss из вашего примера, на экране малевич вверху на видео, rss не отображает, хотя по ссылке в браузере видно
  • Что за спам...?

    @zeleniy87 Автор вопроса
    смущает что не по https, офигеть весь контакт лист шлет мне сообщения
  • DNSSEC на Украине

    @zeleniy87 Автор вопроса
    ну если не ошибаюсь, то заверить DSKEY должен регистратор доменного имени
  • Лицензия на wi-fi

    @zeleniy87 Автор вопроса
    а как же этот документ? www.nkrz.gov.ua/uk/activities/news/1274968813/