ITechSource:http://itech.cnblogs.com/ 1.Linux Link ConceptThere are two types of Linux links, one called hard links, and the other called Symbolic links (symbolic link). By default, the LN command produces a hard link."Hard Connect"A hard connection is a connection that is made through an index node. In a Linux file system, a file saved in a disk partition, regardless of the type, assigns a number to it, called the index node number (Inode index). In Linux, multiple file names point to the same
Soft connections and Hard links)ln hard LinksRole: primarily for secure backupGrammar:ln source DestPrinciple: Normal fileThe inode is the file's permissions, attribution, time and other information and block number, block is the actual file data.Catalog FilesThe inode is the directory's permissions, attribution, time and other information and block number, and block is stored in the Inode and its file name list similar to the following table
for information, such as ports and addresses.
Proxy proxy = new Proxy (Proxy.Type.HTTP, new inetsocketaddress (host, Port));
URLConnection conn = url.openconnection (proxy);
A proxy is used by passing a proxy parameter when an HTTP connection is opened. If you need to verify the information, we can add an HTTP header parameter to implement.
Format: "proxy-authorization" = "Basic base64.encode (User:password)"
String Headerkey = "proxy-authorization";
If you do not want someone to make a new connection on your computer to dial up to the Internet, you can set it up through Group Policy settings. The specific steps are as follows:
Run the Group Policy console, expand the user configuration → administrative Templates → network → network connections option, double-click the "Prevent Access to New Connection Wizard" policy item, and select the Enabled radio button in the Pop-up Properties dialog box.
The previous few days in the Linux system to install MongoDB, and then run the script to import data when the link library encountered the query is not the case, 1 shows. The problem was solved by creating a soft connection. Although, through the online tutorials to solve the problem, but for soft connections and hard links are always not very clear. Take advantage of the weekend to make up for the lessons, the concept of soft links and hard link, fea
Security code: There is no degree of loneliness is impossible to have inner peace.we learn by TCP individual states , you can exclude and the It is helpful to locate network or system failures. View the number of connections to the server through the netstat command. Netstat-an|awk '/tcp/{print $6} ' |sort|uniq-c 2 close_wait CLOSING established fin_wait1 Fin_wait2 4 last_ack 5 LISTEN syn_recv 295 time_wait
State
Describe
When compiling the iOS app in Xcode7.0 and above, a new feature of iOS9 is used by default, making all HTTP connections disabled, and the APIs used in the project without HTTPS support are tragic. On the official document, there is such a phrase
"> App transport security app Transport Security (ATS) enforces best practices in the Secur e connections between an app. ATS prevents accidental disclosur
SQL Developer Configuration Application:
Open PL SQL Developer, login interface point Cancel, enter after the menu bar tools->preferences->connection:
Oracle home=d:\oracleclient
OCI Library=d:\oracleclient\oci.dll
5, open Plsql will be in the database has oracledata option input username password can be logged in.
In the third case:
Oracle servers are not installed on this machine, but Oracle clients are installed, and tools for managing databases such as PL SQL development, Toad SQL developm
(this one is not recommended for configuration)
Remote exceeds maximum number of connections
Run: services.msc, enable License logging.
Open Licensing in Win2k3 's Control Panel, click Add License, and enter the number of connections you want to change.
Don't forget to close License Logging when you are finished adding.
Start-run-gpedit.msc-Computer Configuration-Administrative Templates-windows c
message order by message.time DESC";
Query q =s.createquery (HQL);
When querying for data, spring is not able to manage connections automatically, that is to say, the code in use takes into a disconnected database connection and requests a connection every time it is invoked ... Until the connections in the Tomcat connection pool are exhausted ... So you can no longer apply for the connection ... This exce
1.
How to use: ln [option] source_file Dist_file
When-F is established, it is deleted with the file name.
-I to ask before deleting.
LN-S ABC CDE establishes the soft connection of ABC
The LN ABC CDE establishes the hard connections of ABC,
2. The difference between soft link and hard link (popular):
A hard link can be thought of as a file with two filenames, and a soft link is
The system creates a new linked file that points to the file to which it
The database connection is timed to see if the number of sessions is normal. Set up too many data links to consume the resources of the database
For some hung connections, a manual kill is required
Select Sid,serial#,username,program,status from V$vession;
Note: If username is empty, this is an Oracle daemon and do not take any action
Sid SessionId
serial# serial number, with SID as primary key
Status the state of the current session, active i
Ever thought in my.cnf write max_connections = 2000You can change the maximum concurrency of MySQL, a command today, found that the server's MySQL maximum number of connections to 151.
console, connecting to MySQL
Copy Code code as follows:
Show variables;
This command can see all the underlying configurations
If you look alone, max_connections can do this.
Copy Code code as follows:
Show variables like ' max% ';
Too many connectionsError Number: 1040
Problem Analysis:
The number of connections exceeds the value set by the MySQL tutorial and is related to both max_connections and wait_timeout. The larger the value of the wait_timeout, the longer the idle wait for the connection, which causes the current number of connections to become larger.
To the C:windows directory (under Windows 2000 for Winnt), locate the M
server| Error
Three of the most common errors in SQL Server connections:
One. " SQL Server does not exist or access is denied "
This is the most complex, the cause of the error is more, need to check the aspect also more.
Generally speaking, there are several possibilities:
1,sql server name or IP address is spelled incorrectly
2, server-side network configuration is incorrect
3, the client network configuration is incorrect
To solve this problem
Found many time_wait connections, but the process fd normal, connect return-1 time errno==99 cannot assign requested address solution
Today, multi-process data processing, encountered a problem, the phenomenon is a multi-process run for a while, all processes start connect return-1 errno==99 cannot assign requested address. Looking at each process FD is normal for various methods detected, confirming no FG leakage indications. But when Netstat found
An exception occurred in the internship
Com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:Data Source rejected establishment of Connection, message from server: "Too many connections"
See a lot of solutions on the Internet are basically said to modify the MySQL configuration file, open the MySQL installation directory open My.ini find Max_connections (in about 93rd line) By default is 1001-like settings to 500~1000 more appropriate,
Oracle connections are common for processes with Local=no parameters or with Local=yes.
Local=no: Not a local connection, that is, a network connection. It is connected to the server through listener. The client's application listens to the server through the listener to send the request, after the server listens receives, in with the database connection, carries on the related operation, returns the result to the client. This is through the listenin
2017.9.14A site pre-launch stress testPage Open Error Mysql:too many connectionsA look at the MySQL connection number is set too small caused byEnter MySQL to view the number of connections settingsShow variables like '%max_connections% ';Only 151, how can, decisively decide to raise to 1000PS: Server performance Yes, hahaOpen MySQL config file my.cnf add max_connections=1000 to restart MySQL. Test again, no problem!Method Two: The command line is tem
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.