Configure PHP.ini files (for example, files of the size of 500M below)
Look for the following options and modify the->
File_uploads = on; open File upload option
upload_max_filesize = 500M; upload file upper limit
If you want to upload a larger file, only the above two is not enough, the server cache must be the upper limit, the script maximum execution time is longer
Post_max_size = 500M;p ost Upper limit
max_execution_time = 1800; Maximum execut
attention to observe, see how the business peak time effect.
If a modification is made, it will work, and the following modifications shall be made for permanent effect.
Vi/etc/sysctl.conf
If the following information does not exist in the configuration file, add:
Net.ipv4.tcp_keepalive_time = 1800
Net.ipv4.tcp_keepalive_probes = 3
NET.IPV4.TCP_KEEPALIVE_INTVL = 15
After editing the/etc/sysctl.conf, it will not take effect until the network is
chain syntax. In the next example, we will explore what lambdas and streams can do. We created a person class and used this class to add some data to the list, which will be used for further flow operations. Person is just a simple Pojo class:[Java] View plain copy on the code to see a piece of coding derived from my Code slicepublic class Person {
Private String FirstName, lastName, job, gender;private int salary, age;
Public person (string firstName, String lastName, String job,String gender,
+ telecommunications cards, that is, the case of dual-card, can only use 1 card.
2G Network format
Main card: Mobile 2G (GSM)/Unicom 2G (GSM)/Telecom 2G (CDMA1X), Deputy card: Mobile 2G (GSM)/Unicom 2G (GSM)/Telecom 2G (CDMA1X).
Note: Card slots 1, 2 can be arbitrarily switched to the main card, the secondary card; can not use 2 telecom cards at the same time
Network frequency
Main card: tdd-lte:b38/b39/b40/b41 (2555mhz~2655mhz); fdd-lte:b1/b3/b7;td-scdma:b34
than one!) ');
return false;
}
if (chkc
{
}
Else
{
alchk++;
}
}
if (alchk
{
Alert (' not finished ');
return confirm (' You have not completed the topic, whether to submit? ');
}
return confirm (' OK submit? ');
}
4. Some JavaScript scripts are also required on the page, as follows
Timer
function display () {
Rtime=etime-ctime;
Sstime=1800-rtime;
if (rtime>60)
{
M=parseint (RTIME/60);
}
else{
m=0;
}
if (sstime>=60)
copy objects, just want to set the other of the masses
The cache publishes a message (false) for an object update, and defaults to true.The Replicateremovals True|false object is removed, and the state is replicated to other caches in the cluster, by default true.
================================================================================
timetoidleseconds= "1800" timetoliveseconds= "1800" overflow
agent1.channels.ch1.transactionCapacity = 1000000 agent1.channels.ch1.keep-alive = 10 Agent1.channels.ch2.type = Memory Agent1.channels.ch2.capacity = 1000000 agent1.channels.ch2.transactionCapacity = 100000 agent1.channels.ch2.keep-alive = # Define a Avro source called Avro-source1 on Agent1 and tell it # to bind to
0.0.0.0:41414. Connect it to channel CH1.
Agent1.sources.source1.channels = ch1 CH2 Agent1.sources.source1.type = Avro Agent1.sources.source1.bind = con Agent1.sources.source1.po
. Click the basic settings, first turn on the security settings, and select WEP on a line labeled security type.
Select 16 in the key format, enter the key, and click Save. Write down this key. After you click Save Settings, any computer that was previously connected to the wireless router will lose its connection. This is normal because you have modified the way they communicate with the wireless router, but you haven't told them what security keys to use to access the wireless router.
2. Ena
startup-bash-3.2$ Ps-ef|grep Post--View database status-bash-3.2$ Cat LogFile-bash-3.2$ ps-f-U postgresTo connect to a database: -bash-3.2$ Psql--Local connectionPsql (9.5.2)Type ' help ' for help.postgres=# \l..........postgres-# \password--Modify PG PasswordEnter New Password:Enter It again:C:\users\wangwc>psql-h 192.168.72.130-u postgres-d Oracle-Remote Connection
Postgresql Shared Memory Usage:
U Sage
A pproximate Shared Me
spring.datasource.minidle=1 spring.datasource.maxactive=20 # Configuration get connection Wait super
Time spring.datasource.maxwait=60000 # Configures the minimum lifetime of a connection in a pool, in milliseconds Spring.datasource.validationquery=select 1 from DUAL
Spring.datasource.testonborrow=false Spring.datasource.testonreturn=false Spring.datasource.testwhileidle=true
spring.datasource.minevictableidletimemillis=25200000 # How long does the configuration interval take to detect id
;1dbip=192.168.1.109dbport=3109dbuser= ' proxysql ' DBPASSWD= ' 123456 ' now= ' date + '%y%m%d%h%m ' dbname= "Sysbench" tblcnt=10 #表数量WARMUP =300 #预热时间 (seconds) during=1800 #持续时间 (seconds) R ows=10000000 #每个表中插入1KW行数据MAXREQ =1000000 #最大请求数为100W # When the duration or maximum number of requests is reached, the test on this round stops # Create a sysbench dedicated database echo ' now creat E db ' mysql-h$dbip-p$dbport-u$dbuser-p$dbpasswd-e ' Create Da
expression in oracle9i can be used in the following cases:DECODE and CaseIn all clauses except the GROUP by clause in SELECT1) using a single-column subquery in a CASE expressionExample: the Employee_id,last_name and location of an explicit employee. whichIf the employee department_id is the same as department_id with location_id 1800, the location is ' Canada ' and the rest is ' USA '.SELECT employee_id, last_name,(Case if department_id = (SELECT de
o'clock. In Druid, there is no problem that Oracle has too much memory in the lower Pscache, you can configure this value to be larger, for example , -
Propertyname= "Maxpoolpreparedstatementperconnectionsize"value= "-1" />
Propertyname= "Validationquery"value= "Select 1"/>
Propertyname= "Testwhileidle"value= "true"/>
Propertyname= "Testonborrow"value= "true"/>
Propertyname= "Testonreturn"value= "false"/>
turn on the removeabandoned feature
-s
To get back to the problem itself, first look at the MySQL parameter settings:
mysql> show variables like ‘%timeout%‘;
+-----------------------------+----------+
| Variable_name | Value |
+-----------------------------+----------+
| connect_timeout | 10 |
| interactive_timeout | 1800 |
| lock_wait_timeout | 31536000 |
| net_read_timeout | 3
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.