Menu
SuiteCRM Pull Request Party hosted by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: Connection timed out

Connection timed out 1 year 3 months ago #60446

  • akrum
  • akrum's Avatar
  • Offline
  • Senior Member
  • Posts: 56
  • Karma: 0
Hi Gurus,

I have tried every trick in the book with PHP,INI to increase the time out .. but it seems there is something i still don't know

My SuiteCRM is hosted on a shared server

Version 7.10 Beta

please help .. thanks in advance
The administrator has disabled public write access.

Connection timed out 1 year 3 months ago #60448

  • akrum
  • akrum's Avatar
  • Offline
  • Senior Member
  • Posts: 56
  • Karma: 0
here is my php.ini:
[PHP]

;user_ini.filename = ".user.ini"
;user_ini.filename =
;user_ini.cache_ttl = 300
engine = On
short_open_tag = Off
asp_tags = Off
precision = 14
output_buffering = 4096
;output_handler =
zlib.output_compression = Off
;zlib.output_compression_level = -1
;zlib.output_handler =
implicit_flush = Off
unserialize_callback_func =
serialize_precision = 17
;open_basedir =
disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
disable_classes =
;highlight.string  = #DD0000
;highlight.comment = #FF9900
;highlight.keyword = #007700
;highlight.default = #0000BB
;highlight.html    = #000000
;ignore_user_abort = On
;realpath_cache_size = 16k
;realpath_cache_ttl = 120
zend.enable_gc = On
;zend.multibyte = Off
;zend.script_encoding =

expose_php = Off
max_execution_time = 60000
max_input_time = 360
;max_input_nesting_level = 64
memory_limit = 512M
;;
;;
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = Off
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
;report_zend_debug = 0
track_errors = Off
;xmlrpc_errors = 0
;xmlrpc_error_number = 0
html_errors = On
;docref_root = "/phpmanual/"
;docref_ext = .html
;error_prepend_string = "<span style='color: #ff0000'>"
;error_append_string = "</span>"
;error_log = php_errors.log
;error_log = syslog
;windows.show_crt_warning

;arg_separator.output = "&amp;"
;arg_separator.input = ";&"
variables_order = "GPCS"
request_order = "GP"
register_argc_argv = Off
auto_globals_jit = On
;enable_post_data_reading = Off
post_max_size = 120M
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
default_charset = "UTF-8"
;internal_encoding =
;input_encoding =
;output_encoding =
;always_populate_raw_post_data = -1

;include_path = ".:/usr/share/php"
;include_path = ".;c:\php\includes"
doc_root =
user_dir =
enable_dl = Off
;cgi.force_redirect = 1
;cgi.nph = 1
;cgi.redirect_status_env =
;cgi.fix_pathinfo=1
;cgi.discard_path=1
;fastcgi.impersonate = 1
;fastcgi.logging = 0
;cgi.rfc2616_headers = 0
;cgi.check_shebang_line=1
;
;
file_uploads = On
;upload_tmp_dir =
upload_max_filesize = 60M
max_file_uploads = 20
;
;
allow_url_fopen = On
allow_url_include = Off
;from="john@doe.com"
;user_agent="PHP"
default_socket_timeout = 60
;auto_detect_line_endings = Off
[CLI Server]
cli_server.color = On
[Date]
;date.timezone =
;date.default_latitude = 31.7667
;date.default_longitude = 35.2333
;date.sunrise_zenith = 90.583333
;date.sunset_zenith = 90.583333
[filter]
;filter.default = unsafe_raw
;filter.default_flags =
[iconv]
;iconv.input_encoding =
;iconv.internal_encoding =
;iconv.output_encoding =
[intl]
;intl.default_locale =
;intl.error_level = E_WARNING
;intl.use_exceptions = 0
[sqlite3]
;sqlite3.extension_dir =
[Pcre]
;pcre.backtrack_limit=100000
;pcre.recursion_limit=100000
[Pdo]
;pdo_odbc.connection_pooling=strict
;pdo_odbc.db2_instance_name
[Pdo_mysql]
pdo_mysql.cache_size = 2000
pdo_mysql.default_socket=
[Phar]
;phar.readonly = On
;phar.require_hash = On
;phar.cache_list =
[mail function]
SMTP = localhost
smtp_port = 25
;sendmail_from = me@example.com
;sendmail_path = /usr/bin/env catchmail -f some@from.address
;mail.force_extra_parameters =
mail.add_x_header = On
;mail.log =
;mail.log = syslog
[SQL]
sql.safe_mode = Off
[ODBC]
;odbc.default_db    =  Not yet implemented
;odbc.default_user  =  Not yet implemented
;odbc.default_pw    =  Not yet implemented
;odbc.default_cursortype
odbc.allow_persistent = On
odbc.check_persistent = On
odbc.max_persistent = -1
odbc.max_links = -1
odbc.defaultlrl = 4096
odbc.defaultbinmode = 1
;birdstep.max_links = -1
[Interbase]
ibase.allow_persistent = 1
ibase.max_persistent = -1
ibase.max_links = -1
;ibase.default_db =
;ibase.default_user =
;ibase.default_password =
;ibase.default_charset =
ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
ibase.dateformat = "%Y-%m-%d"
ibase.timeformat = "%H:%M:%S"
[MySQL]
mysql.allow_local_infile = On
mysql.allow_persistent = On
mysql.cache_size = 2000
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =
mysql.connect_timeout = 60
mysql.trace_mode = Off
[MySQLi]
mysqli.max_persistent = -1
;mysqli.allow_local_infile = On
mysqli.allow_persistent = On
mysqli.max_links = -1
mysqli.cache_size = 2000
mysqli.default_port = 3306
mysqli.default_socket =
mysqli.default_host =
mysqli.default_user =
mysqli.default_pw =
mysqli.reconnect = Off
[mysqlnd]
mysqlnd.collect_statistics = On
mysqlnd.collect_memory_statistics = Off
;mysqlnd.debug =
;mysqlnd.log_mask = 0
;mysqlnd.mempool_default_size = 16000
;mysqlnd.net_cmd_buffer_size = 2048
;mysqlnd.net_read_buffer_size = 32768
;mysqlnd.net_read_timeout = 31536000
;mysqlnd.sha256_server_public_key =
[OCI8]
;oci8.privileged_connect = Off
;oci8.max_persistent = -1
;oci8.persistent_timeout = -1
;oci8.ping_interval = 60
;oci8.connection_class =
;oci8.events = Off
;oci8.statement_cache_size = 20
;oci8.default_prefetch = 100
;oci8.old_oci_close_semantics = Off
[PostgreSQL]
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0
[Sybase-CT]
sybct.allow_persistent = On
sybct.max_persistent = -1
sybct.max_links = -1
sybct.min_server_severity = 10
sybct.min_client_severity = 10
;sybct.timeout=
;sybct.packet_size
;sybct.login_timeout=
;sybct.hostname=
;sybct.deadlock_retry_count=
[bcmath]
bcmath.scale = 0
[browscap]
;browscap = extra/browscap.ini
[Session]
session.save_handler = files
;session.save_path = "/var/lib/php/sessions"
session.use_strict_mode = 0
session.use_cookies = 1
;session.cookie_secure =
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 30000
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly =
session.serialize_handler = php
session.gc_probability = 0
session.gc_divisor = 1000
session.gc_maxlifetime = 7200
session.referer_check =
;session.entropy_length = 32
;session.entropy_file = /dev/urandom
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 5
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
;session.upload_progress.enabled = On
;session.upload_progress.cleanup = On
;session.upload_progress.prefix = "upload_progress_"
;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
;session.upload_progress.freq =  "1%"
;session.upload_progress.min_freq = "1"
[MSSQL]
mssql.allow_persistent = On
mssql.max_persistent = -1
mssql.max_links = -1
mssql.min_error_severity = 10
mssql.min_message_severity = 10
mssql.compatibility_mode = Off
;mssql.connect_timeout = 5
;mssql.timeout = 60
;mssql.textlimit = 4096
;mssql.textsize = 4096
;mssql.batchsize = 0
;mssql.datetimeconvert = On
mssql.secure_connection = Off
;mssql.max_procs = -1
;mssql.charset = "ISO-8859-1"
[Assertion]
;assert.active = On
;assert.warning = On
;assert.bail = Off
;assert.callback = 0
;assert.quiet_eval = 0
[COM]
;com.typelib_file =
;com.allow_dcom = true
;com.autoregister_typelib = true
;com.autoregister_casesensitive = false
;com.autoregister_verbose = true
;com.code_page=
[mbstring]
;mbstring.language = Japanese
;mbstring.internal_encoding =
;mbstring.http_input =
;mbstring.http_output =
;mbstring.encoding_translation = Off
;mbstring.detect_order = auto
;mbstring.substitute_character = none
;mbstring.func_overload = 0
;mbstring.strict_detection = On
;mbstring.http_output_conv_mimetype=
[gd]
;gd.jpeg_ignore_warning = 0
[exif]
;exif.encode_unicode = ISO-8859-15
;exif.decode_unicode_motorola = UCS-2BE
;exif.decode_unicode_intel    = UCS-2LE
;exif.encode_jis =
;exif.decode_jis_motorola = JIS
;exif.decode_jis_intel    = JIS
[Tidy]
;tidy.default_config = /usr/local/lib/php/default.tcfg
tidy.clean_output = Off
[soap]
soap.wsdl_cache_enabled=1
soap.wsdl_cache_dir="/tmp"
soap.wsdl_cache_ttl=86400
soap.wsdl_cache_limit = 5
[sysvshm]
;sysvshm.init_mem = 10000
[ldap]
ldap.max_links = -1
[mcrypt]
;mcrypt.algorithms_dir=
;mcrypt.modes_dir=
[dba]
;dba.default_handler=
[opcache]
;opcache.enable=0
;opcache.enable_cli=0
;opcache.memory_consumption=64
;opcache.interned_strings_buffer=4
;opcache.max_accelerated_files=2000
;opcache.max_wasted_percentage=5
;opcache.use_cwd=1
;opcache.validate_timestamps=1
;opcache.revalidate_freq=2
;opcache.revalidate_path=0
;opcache.save_comments=1
;opcache.load_comments=1
;opcache.fast_shutdown=0
;opcache.enable_file_override=0
;opcache.optimization_level=0xffffffff
;opcache.inherited_hack=1
;opcache.dups_fix=0
;opcache.blacklist_filename=
;opcache.max_file_size=0
;opcache.consistency_checks=0
;opcache.force_restart_timeout=180
;opcache.error_log=
;opcache.log_verbosity_level=1
;opcache.preferred_memory_model=
;opcache.protect_memory=0
[curl]
;curl.cainfo =
[openssl]
;openssl.cafile=
;openssl.capath=
date.timezone="UTC"
Last Edit: 1 year 2 months ago by pgr. Reason: add code tags
The administrator has disabled public write access.

Connection timed out 1 year 2 months ago #60907

  • larsschaps
  • larsschaps's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Thank you received: 1
  • Karma: 0
Hi...

can you generate an phpinfo output to see which values are actually effective?

Lars
The administrator has disabled public write access.
The following user(s) said Thank You: akrum

Connection timed out 1 year 2 months ago #60912

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 9911
  • Thank you received: 1476
  • Karma: 350
You can go in Admin / Diagnostics and select "phpinfo" and export it.

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.
The following user(s) said Thank You: akrum

Connection timed out 1 year 2 months ago #61131

  • akrum
  • akrum's Avatar
  • Offline
  • Senior Member
  • Posts: 56
  • Karma: 0
here you go
The administrator has disabled public write access.

Connection timed out 1 year 2 months ago #61133

  • akrum
  • akrum's Avatar
  • Offline
  • Senior Member
  • Posts: 56
  • Karma: 0
Couldn't attach the file as the forum went unresponsive.

here is the link: www.dropbox.com/s/tjjws2p9rc1eq2y/phpinfo.html?dl=0

thank you in advance
The administrator has disabled public write access.

Connection timed out 1 year 2 months ago #61134

  • akrum
  • akrum's Avatar
  • Offline
  • Senior Member
  • Posts: 56
  • Karma: 0
Thank you all.. and especially when i see pgr.. i feel there is an impending "case closed" !
The administrator has disabled public write access.

Connection timed out 1 year 2 months ago #61225

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 9911
  • Thank you received: 1476
  • Karma: 350
I don't see anything special about you phpinfo...

Do you always get the timeout? Or just occasionally?

Can you upgrade to 7.10.1?

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Connection timed out 1 year 2 months ago #61247

  • akrum
  • akrum's Avatar
  • Offline
  • Senior Member
  • Posts: 56
  • Karma: 0
I cannot upgrade to any new version as the timeout "always" happens when trying to upgrade

am still running the beta version of 7.10
The administrator has disabled public write access.

Connection timed out 1 year 2 months ago #61252

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 9911
  • Thank you received: 1476
  • Karma: 350
Does it time out after 30 seconds?

I see two values for max_execution_time, one of them is 30 seconds, the other one is bigger.

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Connection timed out 1 year 2 months ago #61255

  • akrum
  • akrum's Avatar
  • Offline
  • Senior Member
  • Posts: 56
  • Karma: 0
yes i believe it does that after 30 seconds

where can i change that value? php.ini??
The administrator has disabled public write access.

Connection timed out 1 year 2 months ago #61256

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 9911
  • Thank you received: 1476
  • Karma: 350
Yes, in php.ini, but according to the one you posted above, it should already be set to a big value.

Was that the contents of this one?

/opt/php70/lib/php.ini

I want to make sure you're setting it in the right place, there is usually more than one php.ini in a system.

The path given above is the one your SuiteCRM is using, according tothe phpinfo you extracted.

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Connection timed out 1 year 2 months ago #61257

  • akrum
  • akrum's Avatar
  • Offline
  • Senior Member
  • Posts: 56
  • Karma: 0
in php.ini

max_execution_time = 60000

so where is the other one?
The administrator has disabled public write access.

Connection timed out 1 year 2 months ago #61258

  • akrum
  • akrum's Avatar
  • Offline
  • Senior Member
  • Posts: 56
  • Karma: 0
I believe it has been fixed PGR

i have changed this value .. and it was fixed.. i hope someone else would find this helpful

changed this in php.ini

From: max_input_time = 360

To: max_input_time = 6000
The administrator has disabled public write access.

Connection timed out 1 year 2 months ago #61259

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 9911
  • Thank you received: 1476
  • Karma: 350
To locate the several php.ini files in your system, you can use
sudo find / -name php.ini 2>/dev/null

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.
Moderators: saschakrause
Time to create page: 0.052 seconds
Powered by Kunena Forum