During struts2 and spring websites, after the system is idle for a period of time, an error will occur while accessing the page. The second visit will be normal. Later, I checked the background log and found that the database connection was closed, resulting in page access errors. A null pointer error is reported on the page. The error is not retained. The errors recorded in the log are as follows:ERROR (java. SQL. Connection: 19)-Error calling Connec
. There are also shortcut keys in the shell, which are also convenientALT+DG to the error line first, press this shortcut to quickly navigate to the wrong locationAlt+ds directly show the error history, find the source, convenient AHAlt+da if every time to press, is not convenient, press this, after the mistakes are historyALT+DD Open the Debugging window, enter the single-step debugging, convenient.Ctrl+f6 to empty the previous import record, and so on, restart the shellIt's also worth noting t
Let's write the principle:There is a picture for proof:As the principle PackageAlrithm; Public classQuick { Public Static voidSortint[] arr,intLowintHigh ) { intmin = low;//for dynamic movement of angle labels intmax = high;//for dynamic movement of angle labels if(Low //the element is greater than one before sorting inttemp = Arr[low];//Define cardinality while(Min //jump out of the loop when the corner mark is coincident//New start from maximum value
Check whether the tablespace in the database is idle and used to add data files to the tablespace.
View the percentage of tablespaces used
Code
Select. tablespace_name,. bytes/1024/1024 "Sum MB", (. bytes-b.bytes)/1024/1024 "used MB", B. bytes/1024/1024 "free MB", round (. bytes-b.bytes)/. bytes) * 100,2) "percent_used"From(Select tablespace_name, sum (bytes) bytes from dba_data_files group by tablespace_name),(Select tablespace_name, sum (bytes) by
can talk to me, huh?2, directly modify /etc/ssh_config filewill # Serveralivecountmax 3 # Serveraliveinterval 0Note, and Serveraliveinterval 0 to Serveraliveinterval 5parameter Remark :1, Serveralivecountmax 3: Indicates that the server makes a request after the client does not respond to a certain number of times, it automatically disconnects. Normally, the client does not respond.2, Serveraliveinterval 0: Specifies the server-side request message to the client interval, the default is 0, not
to restart the SSH service after saving.After the modification, the above several methods can let SSH stay connected, always in the alive state, not because there is no operation to be forced by the server disconnected."/etc/ssh/sshd_config" is a openssh configuration file that allows setting options to change the operation of this daemon. Each line of this file contains a "keyword-value" match, where "keyword" is ignored and case-sensitive. The following list is the most important keywords, th
The system administrator must maintain the healthy operation of their servers. One important part of this is memory. When server memory usage is too high, it degrades server performance. Linux has a tool called free to monitor memory usage.
What's the free command?
The free command is a tool that displays the amount of idle and used memory in the system. The output of the free command is similar to the top command. Most Linux distributions already c
installation, but there are several parameters must be set in advance!! [i] Keywords: serverroot "C:/apache24" This is the Apache installation directory, according to their actual situation (extract to where to write what) fill in the attention of the location of the slash direction!! Do not paste directly!! Do not paste directly!! Do not paste directly!! Important thing to say three times!! window under the default path with the \, here is the Linux under the/!! Key words: DocumentRoot "C:/apa
The system administrator must maintain the healthy operation of their servers. One important part of this is memory. When server memory usage is too high, it degrades server performance. Linux has a tool called free to monitor memory usage.
What's the free command?
The free command is a tool that displays the amount of idle and used memory in the system. The output of the free command is similar to the top command. Most Linux distributions already c
Users of the free fish software to the detailed analysis of the message sent to share the problem of the solution.
Ways to share:
What if the idle fish app can't send a message?
First, there are several possible ways in which messages are not sent out:
First, check whether you are pulled black by the other side, or the network conditions are not good;
Second, if the system prompts you: "Pro, your account is abnormal, please l
...mysql> SHOW GLOBAL VARIABLES like ' interactive_timeout '; +---------------------+----------+| Variable_name | Value |+---------------------+----------+| interactive_timeout | 31536000 |+---------------------+----------+1 Row in Set (0.00 sec) mysql> Show global variables like ' wait_timeout '; +---------------+----------+| variable_name | Value |+---------------+----------+| wait_timeout | 31536000 |+---------------+----------+1 row in Set (0.00 Sec MySQL 5.1 exceeds the default
dbms_metadata.get_ddl (' tablespace ',' Mlog_norm_space ') from dual;
--4 confirm enough disk space to add a data fileSQL code
Alter tablespace mlog_norm_space
add datafile '/oracle/oms/oradata/mlog/mlog_norm_data001.dbf '
size 10M autoextend on MaxSize 20G
--5 verifying data files that have been addedSQL code
Select file_name,file_id,tablespace_name from Dba_data_files
where tablespace_name=' mlog_norm_space '
--6 If you delete a tablespace data
Use terminal ssh to connect to the server, if there is no operation for a long time, it will be disconnected. If you want to use it, you have to re-login, which is very inconvenient, but also affect the development efficiency.In view of this problem, theoretically, there are two kinds of schemes:1. Modify the server Sshd_config file2. Modify the user's CRT link how often to send a stringModification of the server is unlikely, standing in the manager's perspective to think about the problem, to m
Oracle connection error-Connected to an idle instance solution symptom and solution: phenomenon: www.2cto.com PL/SQL Developer cannot connect to the database instance, prompting no listening SID. Use sysdba to log on and prompt Connected to an idle instance. Method 1: restart the oracle command in linux (if this service is not available, use idea 2) restart the oracle service: service oracle restart, view t
Original link: http://www.cnblogs.com/maybego/p/3234055.htmlPractice success under the Windows7.Let me tell you how to use the installation.1. Downloadclearwindow.py(Right-click-the target is saved as, the format is the end of the PY, direct click will open the script content).2. Copy the clearwindow.py file and put it in the Python installation directoryPython Xxx\lib\idlelibFollowingxxx for your python version)。3. Notepad opens the Python xxx\lib\idlelib directoryConfig-extensions.def(
This article mainly introduces how to find nine consecutive idle ports in Python. For more information, see this article. it mainly introduces how to find nine consecutive idle ports in Python, for more information, see
I. project requirements
To install a software, enter the idle port during configuration. Check whether a port of five platforms is occupied
Five
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.