mysql 错误日志code '0'

客户端向服务器端mysql 插入数据,日志打印错误信息
Unable to translate SQLException with Error code '0', will now try the fallback translator
Extracted SQL state class 'S1' from value 'S1009'

使用的是amoeba配置的主从分离mysql数据库群。直接使用navicat客户端插入数据可正确执行。
项目使用的是mybatis + SpringMVC

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
如何通过PHP获取apache和mysql错误日志

<div class="post-text" itemprop="text"> <p>I have been working on PHP. i have a doubt how to get <code>apache and mysql error logs</code> path using php. For php error log we can go for <code>ini_get("error_log")</code>. is there any way like above for apache and mysql error logs ? we can get mysql path using following query <code>show variables like '%log%'</code> but it is not accessible . can i access mysql/apache error logs in shared hosting ? </p> </div>

XAMPP中缺少php错误日志

<div class="post-text" itemprop="text"> <p>php.ini contains following parameters: </p> <pre><code>track_errors=On error_reporting=E_ALL &amp; ~E_DEPRECATED &amp; ~E_STRICT log_errors=On error_log="C:\xampp\php\logs\php_error_log" </code></pre> <p>but "logs" folder is missing in this path. Its not even hidden folder. where to find php error logs?</p> <pre><code>OS:windows 8.1 php version 5.6.24 </code></pre> </div>

centos7下启动mysql5.7不产生日志,启动失败

只有这个提示,请各位大神帮帮忙 Redirecting to /bin/systemctl start mysqld.service Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.

XAMPP错误:MySQL意外关闭

<div class="post-text" itemprop="text"> <p>I just installed XAMPP and when I press start for MySQL, it started normally, and then suddenly it stopped. Here what I got in the console:</p> <pre><code>12:52:45 AM [mysql] Error: MySQL shutdown unexpectedly. 12:52:45 AM [mysql] This may be due to a blocked port, missing dependencies, 12:52:45 AM [mysql] improper privileges, a crash, or a shutdown by another method. 12:52:45 AM [mysql] Press the Logs button to view error logs and check 12:52:45 AM [mysql] the Windows Event Viewer for more clues 12:52:45 AM [mysql] If you need more help, copy and post this 12:52:45 AM [mysql] entire log window on the forums </code></pre> <p>And here is in the error log file:</p> <pre><code>Version: '5.6.24' socket: '' port: 3306 MySQL Community Server (GPL) 2015-10-22 10:01:43 7700 [Note] Plugin 'FEDERATED' is disabled. 2015-10-22 10:01:43 12f0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator. 2015-10-22 10:01:43 7700 [Note] InnoDB: Using atomics to ref count buffer pool pages 2015-10-22 10:01:43 7700 [Note] InnoDB: The InnoDB memory heap is disabled 2015-10-22 10:01:43 7700 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions 2015-10-22 10:01:43 7700 [Note] InnoDB: Memory barrier is not used 2015-10-22 10:01:43 7700 [Note] InnoDB: Compressed tables use zlib 1.2.3 2015-10-22 10:01:43 7700 [Note] InnoDB: Not using CPU crc32 instructions 2015-10-22 10:01:43 7700 [Note] InnoDB: Initializing buffer pool, size = 16.0M 2015-10-22 10:01:43 7700 [Note] InnoDB: Completed initialization of buffer pool 2015-10-22 10:01:43 7700 [Note] InnoDB: Highest supported file format is Barracuda. 2015-10-22 10:01:43 7700 [Note] InnoDB: The log sequence numbers 1665234 and 1665234 in ibdata files do not match the log sequence number 39662092 in the ib_logfiles! 2015-10-22 10:01:43 7700 [Note] InnoDB: Database was not shutdown normally! 2015-10-22 10:01:43 7700 [Note] InnoDB: Starting crash recovery. 2015-10-22 10:01:43 7700 [Note] InnoDB: Reading tablespace information from the .ibd files... 2015-10-22 10:01:44 7700 [Note] InnoDB: Restoring possible half-written data pages 2015-10-22 10:01:44 7700 [Note] InnoDB: from the doublewrite buffer... 2015-10-22 10:01:44 7700 [Note] InnoDB: 128 rollback segment(s) are active. 2015-10-22 10:01:44 7700 [Note] InnoDB: Waiting for purge to start 2015-10-22 10:01:44 7700 [Note] InnoDB: 5.6.24 started; log sequence number 39662092 2015-10-22 10:01:44 7700 [Note] Server hostname (bind-address): '*'; port: 3306 2015-10-22 10:01:44 7700 [Note] IPv6 is available. 2015-10-22 10:01:44 7700 [Note] - '::' resolves to '::'; 2015-10-22 10:01:44 7700 [Note] Server socket created on IP: '::'. 2015-10-22 10:01:45 7700 [Note] Event Scheduler: Loaded 0 events 2015-10-22 10:01:45 7700 [Note] mysql\bin\mysqld.exe: ready for connections. Version: '5.6.24' socket: '' port: 3306 MySQL Community Server (GPL) </code></pre> <p>Can anyone help me? I should get back to work with this XAMPP. Thanks before!</p> </div>

错误日志中的mysql_num_rows

<div class="post-text" itemprop="text"> <p>I am encountering an error. My log is as follows:</p> <pre><code>PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/domain/public_html/index.php on line 96 </code></pre> <p>My code is as followsL line 96:</p> <pre><code>mysql_num_rows(mysql_query("SELECT * FROM `table` WHERE UNIX_TIMESTAMP(`date`)&gt;$user_last_visit")); </code></pre> <p>What could cause this error?</p> </div>

manjaro下安装了mysql8,之前都运行正常,突然启动不了了,应该怎么查?

[NBC1700155 mysql]# systemctl start mysqld Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details. [NBC1700155 mysql]# systemctl status mysqld ● mysqld.service - MySQL Server Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor pres> Active: failed (Result: exit-code) since Wed 2019-11-06 21:14:40 CST; 8s ago Docs: man:mysqld(8) http://dev.mysql.com/doc/refman/en/using-systemd.html Process: 3107 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0> Process: 3128 ExecStart=/usr/bin/mysqld $MYSQLD_OPTS (code=exited, status=127) Main PID: 3128 (code=exited, status=127) 11月 06 21:14:40 NBC1700155 systemd[1]: mysqld.service: Service RestartSec=100m> 11月 06 21:14:40 NBC1700155 systemd[1]: mysqld.service: Scheduled restart job, > 11月 06 21:14:40 NBC1700155 systemd[1]: Stopped MySQL Server. 11月 06 21:14:40 NBC1700155 systemd[1]: mysqld.service: Start request repeated > 11月 06 21:14:40 NBC1700155 systemd[1]: mysqld.service: Failed with result 'exi> 11月 06 21:14:40 NBC1700155 systemd[1]: Failed to start MySQL Server. [NBC1700155 mysql]#

MySQL说:文档#1064你的SQL语法有错误[关闭]

<div class="post-text" itemprop="text"> <p>I'm trying to move my eCommerce website I created my self from a WAMPSERVER localhost to my online host.<br> In order to move the database(which was working perfectly on my localhos), I export it as an sql file,Then I created a new database in my online server to import the database sql file.<br> The problem I get after hit import is this :</p> <p>ErrorSQL query:</p> <pre><code>-- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `UserID` INT( 11 ) NOT NULL COMMENT 'To Identify User', `Username` VARCHAR( 255 ) NOT NULL COMMENT 'Username To Login', `Password` VARCHAR( 255 ) NOT NULL COMMENT 'Password To Login', `Email` VARCHAR( 255 ) NOT NULL COMMENT 'User Email', `FullName` VARCHAR( 255 ) NOT NULL COMMENT 'User Full name', `GroupID` INT( 11 ) NOT NULL DEFAULT '0' COMMENT ); </code></pre> <p>MySQL said: Documentation</p> <blockquote> <p>#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 14 </p> </blockquote> <h2>What is the problem ?</h2> <p>UPDATE : The problem solved after adding the comment, but I'm getting another error messages like this : </p> <pre><code> Error SQL query: -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `UserID` INT( 11 ) NOT NULL AUTO_INCREMENT , AUTO_INCREMENT =9 COMMENT 'To Identify User'; MySQL said: Documentation #1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key </code></pre> </div>

我如何知道错误日志中MySQL在慢速查询中遇到的页面

<div class="post-text" itemprop="text"> <p>How can i know the page from where slow query was hitting in MySQL, like</p> <pre><code>"SELECT * FROM Users WHERE id=123" </code></pre> <p>Lets say this query was written on page user.php and on many other pages and this query caught in slow log</p> <p>Now i need to know the exact page on which this was run from error log</p> </div>

你如何使用mysqli_report将mysqli错误发送到主php错误日志?

<div class="post-text" itemprop="text"> <p>In a nutshell, I would like to keep tabs on mysqli errors. No matter where in the site...it would be great if they were written to a central log file. </p> <p>I have a log file setup for php errors which works great already, but just for php errors.</p> <pre><code>php_flag log_errors on php_value error_log pathtoerrorlog </code></pre> <p>I am using (in my php template) the following: </p> <pre><code>mysqli_report(MYSQLI_REPORT_ERROR); </code></pre> <p>This properly displays mysql errors in the code as they happen. Very nice, but I would like the option to write these to main error log as well. Is this possible?</p> <p>I tried adding this line of code before mysqli_report, but it didn't help:</p> <pre><code>ini_set('log_errors',1); </code></pre> <p>Is there a way to fix this?</p> </div>

异常com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException,SQL语法错误

用mybatis框架往数据库插入测试数据,总是提示语法错误,自己仔细检查了很多遍,可是一直没发现问题,各位可以帮我检查一下,到底哪里出现问题了么? ![图片说明](https://img-ask.csdn.net/upload/201909/01/1567350254_202174.png) ## 这个是异常提示 ![图片说明](https://img-ask.csdn.net/upload/201909/01/1567350298_919722.png) ## 这个是LOG4J记录的执行日志 ![图片说明](https://img-ask.csdn.net/upload/201909/01/1567350397_914342.png) ## 这个是拼接语句 总是提示语法错误,可是一直找不出来

Sqoop将数据从hive导入mysql报错,各位帮我看看

这是运行的命令: liuyanbing@ubuntu:/opt/sqoop$ bin/sqoop export --connect jdbc:mysql://localhost:3306/dbtaobao --username root --password root --table user_log --export-dir '/user/hive/warehouse/dbtaobao.db/inner_user_log' --fields-terminated-by ','; 报错内容: Warning: /opt/sqoop/../hcatalog does not exist! HCatalog jobs will fail. Please set $HCAT_HOME to the root of your HCatalog installation. Warning: /opt/sqoop/../accumulo does not exist! Accumulo imports will fail. Please set $ACCUMULO_HOME to the root of your Accumulo installation. Warning: /opt/sqoop/../zookeeper does not exist! Accumulo imports will fail. Please set $ZOOKEEPER_HOME to the root of your Zookeeper installation. 2019-06-11 16:05:04,541 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6 2019-06-11 16:05:04,573 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead. 2019-06-11 16:05:04,678 INFO manager.MySQLManager: Preparing to use a MySQL streaming resultset. 2019-06-11 16:05:04,678 INFO tool.CodeGenTool: Beginning code generation Tue Jun 11 16:05:04 CST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification. 2019-06-11 16:05:05,241 INFO manager.SqlManager: Executing SQL statement: SELECT t.* FROM `user_log` AS t LIMIT 1 2019-06-11 16:05:05,379 INFO manager.SqlManager: Executing SQL statement: SELECT t.* FROM `user_log` AS t LIMIT 1 2019-06-11 16:05:05,392 INFO orm.CompilationManager: HADOOP_MAPRED_HOME is /bigdata/hadoop-3.1.1 Note: /tmp/sqoop-liuyanbing/compile/990c7e516f6811ff0f7c264686938932/user_log.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 2019-06-11 16:05:09,951 INFO orm.CompilationManager: Writing jar file: /tmp/sqoop-liuyanbing/compile/990c7e516f6811ff0f7c264686938932/user_log.jar 2019-06-11 16:05:09,960 INFO mapreduce.ExportJobBase: Beginning export of user_log 2019-06-11 16:05:09,960 INFO Configuration.deprecation: mapred.job.tracker is deprecated. Instead, use mapreduce.jobtracker.address 2019-06-11 16:05:10,093 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 2019-06-11 16:05:10,131 INFO Configuration.deprecation: mapred.jar is deprecated. Instead, use mapreduce.job.jar 2019-06-11 16:05:11,220 INFO Configuration.deprecation: mapred.reduce.tasks.speculative.execution is deprecated. Instead, use mapreduce.reduce.speculative 2019-06-11 16:05:11,224 INFO Configuration.deprecation: mapred.map.tasks.speculative.execution is deprecated. Instead, use mapreduce.map.speculative 2019-06-11 16:05:11,225 INFO Configuration.deprecation: mapred.map.tasks is deprecated. Instead, use mapreduce.job.maps 2019-06-11 16:05:11,399 INFO client.RMProxy: Connecting to ResourceManager at localhost/127.0.0.1:8032 2019-06-11 16:05:12,478 INFO mapreduce.JobResourceUploader: Disabling Erasure Coding for path: /tmp/hadoop-yarn/staging/liuyanbing/.staging/job_1560238973821_0003 2019-06-11 16:05:15,272 WARN hdfs.DataStreamer: Caught exception java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Thread.join(Thread.java:1252) at java.lang.Thread.join(Thread.java:1326) at org.apache.hadoop.hdfs.DataStreamer.closeResponder(DataStreamer.java:986) at org.apache.hadoop.hdfs.DataStreamer.endBlock(DataStreamer.java:640) at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:810) 2019-06-11 16:05:18,771 INFO input.FileInputFormat: Total input files to process : 1 2019-06-11 16:05:18,780 INFO input.FileInputFormat: Total input files to process : 1 2019-06-11 16:05:19,285 INFO mapreduce.JobSubmitter: number of splits:4 2019-06-11 16:05:19,352 INFO Configuration.deprecation: mapred.map.tasks.speculative.execution is deprecated. Instead, use mapreduce.map.speculative 2019-06-11 16:05:19,353 INFO Configuration.deprecation: yarn.resourcemanager.system-metrics-publisher.enabled is deprecated. Instead, use yarn.system-metrics-publisher.enabled 2019-06-11 16:05:19,472 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1560238973821_0003 2019-06-11 16:05:19,473 INFO mapreduce.JobSubmitter: Executing with tokens: [] 2019-06-11 16:05:19,959 INFO conf.Configuration: resource-types.xml not found 2019-06-11 16:05:19,959 INFO resource.ResourceUtils: Unable to find 'resource-types.xml'. 2019-06-11 16:05:20,049 INFO impl.YarnClientImpl: Submitted application application_1560238973821_0003 2019-06-11 16:05:20,105 INFO mapreduce.Job: The url to track the job: http://ubuntu:8088/proxy/application_1560238973821_0003/ 2019-06-11 16:05:20,106 INFO mapreduce.Job: Running job: job_1560238973821_0003 2019-06-11 16:05:29,273 INFO mapreduce.Job: Job job_1560238973821_0003 running in uber mode : false 2019-06-11 16:05:29,286 INFO mapreduce.Job: map 0% reduce 0% 2019-06-11 16:05:42,450 INFO mapreduce.Job: Task Id : attempt_1560238973821_0003_m_000002_0, Status : FAILED [2019-06-11 16:05:39.558]Container [pid=22666,containerID=container_1560238973821_0003_01_000004] is running 318323200B beyond the 'VIRTUAL' memory limit. Current usage: 125.2 MB of 1 GB physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing container. Dump of the process-tree for container_1560238973821_0003_01_000004 : |- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE |- 22910 22666 22666 22666 (java) 302 45 2558558208 31405 /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000004/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000004 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000002_0 4 |- 22666 22656 22666 22666 (bash) 0 0 14622720 634 /bin/bash -c /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000004/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000004 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000002_0 4 1>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000004/stdout 2>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000004/stderr [2019-06-11 16:05:40.618]Container killed on request. Exit code is 143 [2019-06-11 16:05:40.619]Container exited with a non-zero exit code 143. 2019-06-11 16:05:42,479 INFO mapreduce.Job: Task Id : attempt_1560238973821_0003_m_000001_0, Status : FAILED [2019-06-11 16:05:39.558]Container [pid=22651,containerID=container_1560238973821_0003_01_000003] is running 320690688B beyond the 'VIRTUAL' memory limit. Current usage: 127.5 MB of 1 GB physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing container. Dump of the process-tree for container_1560238973821_0003_01_000003 : |- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE |- 22955 22651 22651 22651 (java) 296 49 2560925696 32025 /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000003/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000003 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000001_0 3 |- 22651 22649 22651 22651 (bash) 0 0 14622720 627 /bin/bash -c /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000003/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000003 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000001_0 3 1>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000003/stdout 2>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000003/stderr [2019-06-11 16:05:40.618]Container killed on request. Exit code is 143 [2019-06-11 16:05:40.621]Container exited with a non-zero exit code 143. 2019-06-11 16:05:42,480 INFO mapreduce.Job: Task Id : attempt_1560238973821_0003_m_000003_0, Status : FAILED [2019-06-11 16:05:38.617]Container [pid=22749,containerID=container_1560238973821_0003_01_000005] is running 320125440B beyond the 'VIRTUAL' memory limit. Current usage: 126.4 MB of 1 GB physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing container. Dump of the process-tree for container_1560238973821_0003_01_000005 : |- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE |- 22987 22749 22749 22749 (java) 324 37 2560360448 31709 /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000005/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000005 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000003_0 5 |- 22749 22720 22749 22749 (bash) 0 1 14622720 640 /bin/bash -c /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000005/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000005 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000003_0 5 1>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000005/stdout 2>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000005/stderr [2019-06-11 16:05:40.620]Container killed on request. Exit code is 143 [2019-06-11 16:05:40.622]Container exited with a non-zero exit code 143. 2019-06-11 16:05:42,482 INFO mapreduce.Job: Task Id : attempt_1560238973821_0003_m_000000_0, Status : FAILED [2019-06-11 16:05:39.558]Container [pid=22675,containerID=container_1560238973821_0003_01_000002] is running 319543808B beyond the 'VIRTUAL' memory limit. Current usage: 125.4 MB of 1 GB physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing container. Dump of the process-tree for container_1560238973821_0003_01_000002 : |- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE |- 22937 22675 22675 22675 (java) 316 38 2559778816 31497 /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000002/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000002 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000000_0 2 |- 22675 22670 22675 22675 (bash) 0 0 14622720 612 /bin/bash -c /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000002/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000002 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000000_0 2 1>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000002/stdout 2>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000002/stderr [2019-06-11 16:05:40.619]Container killed on request. Exit code is 143 [2019-06-11 16:05:40.622]Container exited with a non-zero exit code 143. 2019-06-11 16:05:52,546 INFO mapreduce.Job: Task Id : attempt_1560238973821_0003_m_000002_1, Status : FAILED [2019-06-11 16:05:50.910]Container [pid=23116,containerID=container_1560238973821_0003_01_000006] is running 282286592B beyond the 'VIRTUAL' memory limit. Current usage: 68.6 MB of 1 GB physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing container. Dump of the process-tree for container_1560238973821_0003_01_000006 : |- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE |- 23194 23116 23116 23116 (java) 85 29 2522521600 16852 /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000006/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000006 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000002_1 6 |- 23116 23115 23116 23116 (bash) 0 1 14622720 710 /bin/bash -c /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000006/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000006 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000002_1 6 1>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000006/stdout 2>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000006/stderr [2019-06-11 16:05:50.970]Container killed on request. Exit code is 143 [2019-06-11 16:05:51.012]Container exited with a non-zero exit code 143. 2019-06-11 16:05:55,561 INFO mapreduce.Job: Task Id : attempt_1560238973821_0003_m_000000_1, Status : FAILED [2019-06-11 16:05:54.193]Container [pid=23396,containerID=container_1560238973821_0003_01_000009] is running 313866752B beyond the 'VIRTUAL' memory limit. Current usage: 111.1 MB of 1 GB physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing container. Dump of the process-tree for container_1560238973821_0003_01_000009 : |- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE |- 23396 23394 23396 23396 (bash) 0 1 14622720 710 /bin/bash -c /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000009/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000009 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000000_1 9 1>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000009/stdout 2>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000009/stderr |- 23473 23396 23396 23396 (java) 245 40 2554101760 27743 /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000009/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000009 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000000_1 9 [2019-06-11 16:05:54.228]Container killed on request. Exit code is 143 [2019-06-11 16:05:54.263]Container exited with a non-zero exit code 143. 2019-06-11 16:05:55,563 INFO mapreduce.Job: Task Id : attempt_1560238973821_0003_m_000003_1, Status : FAILED [2019-06-11 16:05:54.332]Container [pid=23304,containerID=container_1560238973821_0003_01_000008] is running 314042880B beyond the 'VIRTUAL' memory limit. Current usage: 113.8 MB of 1 GB physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing container. Dump of the process-tree for container_1560238973821_0003_01_000008 : |- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE |- 23381 23304 23304 23304 (java) 265 51 2554277888 28423 /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000008/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000008 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000003_1 8 |- 23304 23302 23304 23304 (bash) 0 1 14622720 720 /bin/bash -c /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000008/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000008 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000003_1 8 1>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000008/stdout 2>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000008/stderr [2019-06-11 16:05:54.353]Container killed on request. Exit code is 143 [2019-06-11 16:05:54.381]Container exited with a non-zero exit code 143. 2019-06-11 16:05:55,565 INFO mapreduce.Job: Task Id : attempt_1560238973821_0003_m_000001_1, Status : FAILED [2019-06-11 16:05:54.408]Container [pid=23200,containerID=container_1560238973821_0003_01_000007] is running 314497536B beyond the 'VIRTUAL' memory limit. Current usage: 115.5 MB of 1 GB physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing container. Dump of the process-tree for container_1560238973821_0003_01_000007 : |- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE |- 23200 23198 23200 23200 (bash) 0 1 14622720 711 /bin/bash -c /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000007/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000007 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000001_1 7 1>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000007/stdout 2>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000007/stderr |- 23277 23200 23200 23200 (java) 257 60 2554732544 28852 /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000007/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000007 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000001_1 7 [2019-06-11 16:05:54.463]Container killed on request. Exit code is 143 [2019-06-11 16:05:54.482]Container exited with a non-zero exit code 143. 2019-06-11 16:06:01,619 INFO mapreduce.Job: Task Id : attempt_1560238973821_0003_m_000002_2, Status : FAILED [2019-06-11 16:06:00.584]Container [pid=23515,containerID=container_1560238973821_0003_01_000011] is running 337451520B beyond the 'VIRTUAL' memory limit. Current usage: 203.4 MB of 1 GB physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing container. Dump of the process-tree for container_1560238973821_0003_01_000011 : |- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE |- 23515 23513 23515 23515 (bash) 0 1 14622720 712 /bin/bash -c /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000011/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000011 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000002_2 11 1>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000011/stdout 2>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000011/stderr |- 23592 23515 23515 23515 (java) 456 89 2577686528 51352 /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000011/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000011 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000002_2 11 [2019-06-11 16:06:00.602]Container killed on request. Exit code is 143 [2019-06-11 16:06:00.659]Container exited with a non-zero exit code 143. 2019-06-11 16:06:05,651 INFO mapreduce.Job: Task Id : attempt_1560238973821_0003_m_000000_2, Status : FAILED [2019-06-11 16:06:03.816]Container [pid=23651,containerID=container_1560238973821_0003_01_000012] is running 331475456B beyond the 'VIRTUAL' memory limit. Current usage: 173.7 MB of 1 GB physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing container. Dump of the process-tree for container_1560238973821_0003_01_000012 : |- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE |- 23728 23651 23651 23651 (java) 418 39 2571710464 43768 /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000012/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000012 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000000_2 12 |- 23651 23649 23651 23651 (bash) 0 1 14622720 707 /bin/bash -c /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000012/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000012 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000000_2 12 1>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000012/stdout 2>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000012/stderr [2019-06-11 16:06:03.981]Container killed on request. Exit code is 143 [2019-06-11 16:06:03.986]Container exited with a non-zero exit code 143. 2019-06-11 16:06:08,677 INFO mapreduce.Job: Task Id : attempt_1560238973821_0003_m_000001_2, Status : FAILED [2019-06-11 16:06:07.127]Container [pid=23848,containerID=container_1560238973821_0003_01_000014] is running 335940096B beyond the 'VIRTUAL' memory limit. Current usage: 198.2 MB of 1 GB physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing container. Dump of the process-tree for container_1560238973821_0003_01_000014 : |- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE |- 23848 23847 23848 23848 (bash) 0 1 14622720 714 /bin/bash -c /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000014/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000014 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000001_2 14 1>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000014/stdout 2>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000014/stderr |- 23926 23848 23848 23848 (java) 408 59 2576175104 50032 /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000014/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000014 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000001_2 14 [2019-06-11 16:06:07.186]Container killed on request. Exit code is 143 [2019-06-11 16:06:07.201]Container exited with a non-zero exit code 143. 2019-06-11 16:06:08,678 INFO mapreduce.Job: Task Id : attempt_1560238973821_0003_m_000003_2, Status : FAILED [2019-06-11 16:06:07.227]Container [pid=23751,containerID=container_1560238973821_0003_01_000013] is running 337357312B beyond the 'VIRTUAL' memory limit. Current usage: 192.7 MB of 1 GB physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing container. Dump of the process-tree for container_1560238973821_0003_01_000013 : |- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE |- 23829 23751 23751 23751 (java) 463 52 2577592320 48632 /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000013/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000013 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000003_2 13 |- 23751 23749 23751 23751 (bash) 0 1 14622720 706 /bin/bash -c /opt/java/jdk1.8.0_181/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx820m -Djava.io.tmpdir=/bigdata/hadoop-3.1.1/tmp/nm-local-dir/usercache/liuyanbing/appcache/application_1560238973821_0003/container_1560238973821_0003_01_000013/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000013 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 127.0.1.1 43655 attempt_1560238973821_0003_m_000003_2 13 1>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000013/stdout 2>/bigdata/hadoop-3.1.1/logs/userlogs/application_1560238973821_0003/container_1560238973821_0003_01_000013/stderr [2019-06-11 16:06:07.280]Container killed on request. Exit code is 143 [2019-06-11 16:06:07.360]Container exited with a non-zero exit code 143. 2019-06-11 16:06:12,703 INFO mapreduce.Job: map 100% reduce 0% 2019-06-11 16:06:12,711 INFO mapreduce.Job: Job job_1560238973821_0003 failed with state FAILED due to: Task failed task_1560238973821_0003_m_000002 Job failed as tasks failed. failedMaps:1 failedReduces:0 killedMaps:0 killedReduces: 0 2019-06-11 16:06:12,979 INFO mapreduce.Job: Counters: 13 Job Counters Failed map tasks=13 Killed map tasks=3 Launched map tasks=16 Other local map tasks=12 Data-local map tasks=4 Total time spent by all maps in occupied slots (ms)=124936 Total time spent by all reduces in occupied slots (ms)=0 Total time spent by all map tasks (ms)=124936 Total vcore-milliseconds taken by all map tasks=124936 Total megabyte-milliseconds taken by all map tasks=127934464 Map-Reduce Framework CPU time spent (ms)=0 Physical memory (bytes) snapshot=0 Virtual memory (bytes) snapshot=0 2019-06-11 16:06:12,986 WARN mapreduce.Counters: Group FileSystemCounters is deprecated. Use org.apache.hadoop.mapreduce.FileSystemCounter instead 2019-06-11 16:06:12,990 INFO mapreduce.ExportJobBase: Transferred 0 bytes in 61.7517 seconds (0 bytes/sec) 2019-06-11 16:06:12,999 INFO mapreduce.ExportJobBase: Exported 0 records. 2019-06-11 16:06:12,999 ERROR tool.ExportTool: Error during export: Export job failed! 新手找不到错误 求大神班帮我看看

tomcat 运行中终止 生成错误日志 hs_err_pid328.log,哪位大神帮忙看下是什么原因?

# # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6e833083, pid=328, tid=388 # # JRE version: 7.0_15-b03 # Java VM: Java HotSpot(TM) Client VM (23.7-b01 mixed mode, sharing windows-x86 ) # Problematic frame: # V [jvm.dll+0x73083] # # Core dump written. Default location: D:\Program Files\apache-tomcat-7.0.73\tomcat1\hs_err_pid328.mdmp # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x008ee400): VMThread [stack: 0x00b80000,0x00bf0000] [id=388] siginfo: ExceptionCode=0xc0000005, reading address 0x00000008 Registers: EAX=0x00000004, EBX=0x00befc1c, ECX=0x00000000, EDX=0x00000003 ESP=0x00befb1c, EBP=0x00befb2c, ESI=0x18fe6008, EDI=0x18fe6198 EIP=0x6e833083, EFLAGS=0x00010283 Top of Stack: (sp=0x00befb1c) 0x00befb1c: 00862990 00befc1c 00000000 00735538 0x00befb2c: 00befb40 6e8240dd 00befc1c 0073d128 0x00befb3c: 00000000 00befb54 6e829e6c 00befc1c 0x00befb4c: 0073d128 00befbdc 00befc4c 6e824507 0x00befb5c: 00000000 00befc1c 00befbf4 00862990 0x00befb6c: 6e825622 0073d180 0073d128 008ece48 0x00befb7c: 00010100 00befdd0 00000000 00000000 0x00befb8c: 00befbb0 6e831ed7 00befb00 6e7c49a5 Instructions: (pc=0x6e833083) 0x6e833063: 8b 5d 08 8b f0 eb 08 8d 9b 00 00 00 00 8b f8 8b 0x6e833073: 7f 34 3b f7 73 21 8d a4 24 00 00 00 00 8b 4e 04 0x6e833083: 8b 41 08 8b 90 34 01 00 00 83 c1 08 53 56 ff d2 0x6e833093: 8d 34 86 3b f7 72 e6 8b 45 fc 3b 78 34 72 ce 8b Register to memory mapping: EAX=0x00000004 is an unknown value EBX=0x00befc1c is an unknown value ECX=0x00000000 is an unknown value EDX=0x00000003 is an unknown value ESP=0x00befb1c is an unknown value EBP=0x00befb2c is an unknown value ESI= [error occurred during error reporting (printing register info), id 0xc0000005] Stack: [0x00b80000,0x00bf0000], sp=0x00befb1c, free space=446k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x73083] V [jvm.dll+0x640dd] V [jvm.dll+0x69e6c] V [jvm.dll+0x64507] V [jvm.dll+0x6ae72] V [jvm.dll+0x624b3] V [jvm.dll+0x177326] V [jvm.dll+0x14f475] V [jvm.dll+0x14e5de] V [jvm.dll+0x14e967] V [jvm.dll+0x14ee32] V [jvm.dll+0x17ee89] C [MSVCR100.dll+0x5c556] endthreadex+0x3a C [MSVCR100.dll+0x5c600] endthreadex+0xe4 C [kernel32.dll+0x2484f] GetModuleHandleA+0xdf VM_Operation (0x0379e3e0): GenCollectForAllocation, mode: safepoint, requested by thread 0x038a4400 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x03409c00 JavaThread "catalina-exec-5" daemon [_thread_blocked, id=492, stack(0x04580000,0x045f0000)] 0x0330c400 JavaThread "catalina-exec-4" daemon [_thread_blocked, id=5564, stack(0x04410000,0x04480000)] 0x038a4400 JavaThread "catalina-exec-2" daemon [_thread_blocked, id=884, stack(0x03730000,0x037a0000)] 0x03281400 JavaThread "catalina-exec-1" daemon [_thread_blocked, id=912, stack(0x036c0000,0x03730000)] 0x032c4800 JavaThread "http-apr-8081-AsyncTimeout" daemon [_thread_blocked, id=1484, stack(0x043a0000,0x04410000)] 0x032ad800 JavaThread "http-apr-8081-Acceptor-1" daemon [_thread_in_native, id=3648, stack(0x04330000,0x043a0000)] 0x03420c00 JavaThread "http-apr-8081-Acceptor-0" daemon [_thread_blocked, id=3652, stack(0x042c0000,0x04330000)] 0x03ad3400 JavaThread "http-apr-8081-Sendfile" daemon [_thread_blocked, id=3620, stack(0x04250000,0x042c0000)] 0x03951400 JavaThread "http-apr-8081-Poller" daemon [_thread_blocked, id=3608, stack(0x041e0000,0x04250000)] 0x038e2400 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=3416, stack(0x04170000,0x041e0000)] 0x038ebc00 JavaThread "MySQL Statement Cancellation Timer" daemon [_thread_blocked, id=1560, stack(0x04030000,0x040a0000)] 0x03425400 JavaThread "Timer-0" daemon [_thread_blocked, id=1544, stack(0x03fc0000,0x04030000)] 0x031fb000 JavaThread "GC Daemon" daemon [_thread_blocked, id=960, stack(0x03610000,0x03680000)] 0x00919c00 JavaThread "Service Thread" daemon [_thread_blocked, id=648, stack(0x02e30000,0x02ea0000)] 0x00914000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=488, stack(0x02dc0000,0x02e30000)] 0x00912000 JavaThread "Attach Listener" daemon [_thread_blocked, id=612, stack(0x00d40000,0x00db0000)] 0x00910c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=584, stack(0x00cd0000,0x00d40000)] 0x008f4c00 JavaThread "Finalizer" daemon [_thread_blocked, id=192, stack(0x00c60000,0x00cd0000)] 0x008f0000 JavaThread "Reference Handler" daemon [_thread_blocked, id=540, stack(0x00bf0000,0x00c60000)] 0x00739000 JavaThread "main" [_thread_in_native, id=344, stack(0x00740000,0x007b0000)] Other Threads: =>0x008ee400 VMThread [stack: 0x00b80000,0x00bf0000] [id=388] 0x0091d800 WatcherThread [stack: 0x02ea0000,0x02f10000] [id=428] VM state:at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x00737f30] Threads_lock - owner thread: 0x008ee400 [0x00738348] Heap_lock - owner thread: 0x038a4400 Heap def new generation total 39424K, used 36934K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 100% used [0x16b50000, 0x18d90000, 0x18d90000) from space 4352K, 42% used [0x191d0000, 0x193a1988, 0x19610000) to space 4352K, 54% used [0x18d90000, 0x18fe6198, 0x191d0000) tenured generation total 87424K, used 85124K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 97% used [0x1c0a0000, 0x213c1290, 0x213c1400, 0x21600000) compacting perm gen total 65536K, used 18352K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 28% used [0x26b50000, 0x27d3c060, 0x27d3c200, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Card table byte_map: [0x00960000,0x00a70000] byte_map_base: 0x008aa580 Polling page: 0x007b0000 Code Cache [0x00dc0000, 0x01540000, 0x02dc0000) total_blobs=3515 nmethods=3325 adapters=123 free_code_cache=25118Kb largest_free_block=25713408 Compilation events (10 events): Event: 36891.244 Thread 0x00914000 3382 com.dgj.entity.PagePram::getIpo_bankuai_type (5 bytes) Event: 36891.244 Thread 0x00914000 nmethod 3382 0x01538e08 code [0x01538f00, 0x01538f80] Event: 36911.232 Thread 0x00914000 3383 ! sun.reflect.GeneratedMethodAccessor106::invoke (61 bytes) Event: 36911.233 Thread 0x00914000 nmethod 3383 0x01538fc8 code [0x01539110, 0x015393ec] Event: 36911.234 Thread 0x00914000 3384 ! sun.reflect.GeneratedMethodAccessor103::invoke (61 bytes) Event: 36911.234 Thread 0x00914000 nmethod 3384 0x01539648 code [0x01539790, 0x01539a6c] Event: 36924.267 Thread 0x00914000 3385 com.dgj.entity.PagePram::getIssuer_diqu_type (5 bytes) Event: 36924.268 Thread 0x00914000 nmethod 3385 0x01539cc8 code [0x01539dc0, 0x01539e40] Event: 37017.169 Thread 0x00914000 3386 ! sun.reflect.GeneratedMethodAccessor104::invoke (61 bytes) Event: 37017.172 Thread 0x00914000 nmethod 3386 0x01539e88 code [0x01539fd0, 0x0153a2ac] GC Heap History (10 events): Event: 35589.566 GC heap after Heap after GC invocations=129 (full 1): def new generation total 39424K, used 2823K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 0% used [0x16b50000, 0x16b50000, 0x18d90000) from space 4352K, 64% used [0x191d0000, 0x19491ec8, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 81096K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 92% used [0x1c0a0000, 0x20fd20a8, 0x20fd2200, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) } Event: 36118.110 GC heap before {Heap before GC invocations=129 (full 1): def new generation total 39424K, used 37895K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 100% used [0x16b50000, 0x18d90000, 0x18d90000) from space 4352K, 64% used [0x191d0000, 0x19491ec8, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 81096K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 92% used [0x1c0a0000, 0x20fd20a8, 0x20fd2200, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Event: 36118.147 GC heap after Heap after GC invocations=130 (full 1): def new generation total 39424K, used 2752K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 0% used [0x16b50000, 0x16b50000, 0x18d90000) from space 4352K, 63% used [0x18d90000, 0x190403b8, 0x191d0000) to space 4352K, 0% used [0x191d0000, 0x191d0000, 0x19610000) tenured generation total 87424K, used 82551K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 94% used [0x1c0a0000, 0x2113de78, 0x2113e000, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) } Event: 36413.160 GC heap before {Heap before GC invocations=130 (full 1): def new generation total 39424K, used 37824K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 100% used [0x16b50000, 0x18d90000, 0x18d90000) from space 4352K, 63% used [0x18d90000, 0x190403b8, 0x191d0000) to space 4352K, 0% used [0x191d0000, 0x191d0000, 0x19610000) tenured generation total 87424K, used 82551K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 94% used [0x1c0a0000, 0x2113de78, 0x2113e000, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Event: 36413.222 GC heap after Heap after GC invocations=131 (full 1): def new generation total 39424K, used 2197K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 0% used [0x16b50000, 0x16b50000, 0x18d90000) from space 4352K, 50% used [0x191d0000, 0x193f5698, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 83778K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 95% used [0x1c0a0000, 0x212708f8, 0x21270a00, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) } Event: 36638.180 GC heap before {Heap before GC invocations=131 (full 1): def new generation total 39424K, used 37236K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 99% used [0x16b50000, 0x18d87b90, 0x18d90000) from space 4352K, 50% used [0x191d0000, 0x193f5698, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 83778K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 95% used [0x1c0a0000, 0x212708f8, 0x21270a00, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Event: 36638.201 GC heap after Heap after GC invocations=132 (full 1): def new generation total 39424K, used 1385K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 0% used [0x16b50000, 0x16b50000, 0x18d90000) from space 4352K, 31% used [0x18d90000, 0x18eea4a8, 0x191d0000) to space 4352K, 0% used [0x191d0000, 0x191d0000, 0x19610000) tenured generation total 87424K, used 85124K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 97% used [0x1c0a0000, 0x213c1290, 0x213c1400, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) } Event: 36833.461 GC heap before {Heap before GC invocations=132 (full 1): def new generation total 39424K, used 36457K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 100% used [0x16b50000, 0x18d90000, 0x18d90000) from space 4352K, 31% used [0x18d90000, 0x18eea4a8, 0x191d0000) to space 4352K, 0% used [0x191d0000, 0x191d0000, 0x19610000) tenured generation total 87424K, used 85124K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 97% used [0x1c0a0000, 0x213c1290, 0x213c1400, 0x21600000) compacting perm gen total 65536K, used 18352K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 28% used [0x26b50000, 0x27d3c060, 0x27d3c200, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Event: 36833.483 GC heap after Heap after GC invocations=133 (full 1): def new generation total 39424K, used 1862K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 0% used [0x16b50000, 0x16b50000, 0x18d90000) from space 4352K, 42% used [0x191d0000, 0x193a1988, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 85124K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 97% used [0x1c0a0000, 0x213c1290, 0x213c1400, 0x21600000) compacting perm gen total 65536K, used 18352K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 28% used [0x26b50000, 0x27d3c060, 0x27d3c200, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) } Event: 37037.357 GC heap before {Heap before GC invocations=133 (full 1): def new generation total 39424K, used 36934K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 100% used [0x16b50000, 0x18d90000, 0x18d90000) from space 4352K, 42% used [0x191d0000, 0x193a1988, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 85124K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 97% used [0x1c0a0000, 0x213c1290, 0x213c1400, 0x21600000) compacting perm gen total 65536K, used 18352K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 28% used [0x26b50000, 0x27d3c060, 0x27d3c200, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Deoptimization events (0 events): No events Internal exceptions (10 events): Event: 22629.694 Thread 0x03409c00 Threw 0x17be71a0 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.695 Thread 0x03409c00 Threw 0x17be8e30 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.696 Thread 0x03409c00 Threw 0x17beb080 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.696 Thread 0x03409c00 Threw 0x17bed940 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.697 Thread 0x03409c00 Threw 0x17bef3e8 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.697 Thread 0x03409c00 Threw 0x17bf15f0 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.698 Thread 0x03409c00 Threw 0x17bf2750 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.699 Thread 0x03409c00 Threw 0x17bf69b8 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.699 Thread 0x03409c00 Threw 0x17bf7de0 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 25856.947 Thread 0x03409c00 Threw 0x1747a6b8 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Events (10 events): Event: 36748.116 Executing VM operation: RevokeBias done Event: 36748.226 Executing VM operation: RevokeBias Event: 36748.227 Executing VM operation: RevokeBias done Event: 36818.100 Executing VM operation: RevokeBias Event: 36818.101 Executing VM operation: RevokeBias done Event: 36818.102 Executing VM operation: BulkRevokeBias Event: 36818.104 Executing VM operation: BulkRevokeBias done Event: 36833.459 Executing VM operation: GenCollectForAllocation Event: 36833.483 Executing VM operation: GenCollectForAllocation done Event: 37037.355 Executing VM operation: GenCollectForAllocation Dynamic libraries: 0x00400000 - 0x00418000 D:\Program Files\apache-tomcat-7.0.73\tomcat1\bin\tomcat1.exe 0x7c930000 - 0x7ca03000 C:\WINDOWS\system32\ntdll.dll 0x7c800000 - 0x7c92d000 C:\WINDOWS\system32\kernel32.dll 0x77f30000 - 0x77fdc000 C:\WINDOWS\system32\ADVAPI32.dll 0x77c20000 - 0x77cc1000 C:\WINDOWS\system32\RPCRT4.dll 0x76eb0000 - 0x76ec3000 C:\WINDOWS\system32\Secur32.dll 0x7ca10000 - 0x7d1ec000 C:\WINDOWS\system32\SHELL32.dll 0x77b70000 - 0x77bca000 C:\WINDOWS\system32\msvcrt.dll 0x77bd0000 - 0x77c19000 C:\WINDOWS\system32\GDI32.dll 0x77e10000 - 0x77ea0000 C:\WINDOWS\system32\USER32.dll 0x77eb0000 - 0x77f02000 C:\WINDOWS\system32\SHLWAPI.dll 0x76180000 - 0x7619d000 C:\WINDOWS\system32\IMM32.DLL 0x7f000000 - 0x7f009000 C:\WINDOWS\system32\LPK.DLL 0x74ae0000 - 0x74b45000 C:\WINDOWS\system32\USP10.dll 0x77cd0000 - 0x77dd3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.5190_x-ww_319264BE\comctl32.dll 0x6e7c0000 - 0x6eb0c000 C:\Program Files\Java\jre7\bin\client\jvm.dll 0x71b10000 - 0x71b1b000 C:\WINDOWS\system32\WSOCK32.dll 0x71b60000 - 0x71b77000 C:\WINDOWS\system32\WS2_32.dll 0x71b50000 - 0x71b58000 C:\WINDOWS\system32\WS2HELP.dll 0x769e0000 - 0x76a0a000 C:\WINDOWS\system32\WINMM.dll 0x76ab0000 - 0x76abb000 C:\WINDOWS\system32\PSAPI.DLL 0x78aa0000 - 0x78b5f000 C:\WINDOWS\system32\MSVCR100.dll 0x6e710000 - 0x6e71c000 C:\Program Files\Java\jre7\bin\verify.dll 0x6d4c0000 - 0x6d4e0000 C:\Program Files\Java\jre7\bin\java.dll 0x6e7a0000 - 0x6e7b3000 C:\Program Files\Java\jre7\bin\zip.dll 0x6e4e0000 - 0x6e4f4000 C:\Program Files\Java\jre7\bin\net.dll 0x6e500000 - 0x6e50e000 C:\Program Files\Java\jre7\bin\nio.dll 0x6e440000 - 0x6e44a000 C:\Program Files\Java\jre7\bin\management.dll 0x10000000 - 0x10141000 D:\Program Files\apache-tomcat-7.0.73\tomcat1\bin\tcnative-1.dll 0x71a80000 - 0x71ac0000 C:\WINDOWS\system32\MSWSOCK.dll 0x68000000 - 0x68035000 C:\WINDOWS\system32\rsaenh.dll 0x6e680000 - 0x6e6a0000 C:\Program Files\Java\jre7\bin\sunec.dll 0x6e6a0000 - 0x6e6a9000 C:\Program Files\Java\jre7\bin\sunmscapi.dll 0x760a0000 - 0x76133000 C:\WINDOWS\system32\CRYPT32.dll 0x76080000 - 0x76092000 C:\WINDOWS\system32\MSASN1.dll 0x69660000 - 0x696b7000 C:\WINDOWS\system32\hnetcfg.dll 0x71a40000 - 0x71a48000 C:\WINDOWS\System32\wshtcpip.dll 0x76e30000 - 0x76e5b000 C:\WINDOWS\system32\DNSAPI.dll 0x76ed0000 - 0x76ed7000 C:\WINDOWS\System32\winrnr.dll 0x76e70000 - 0x76e9e000 C:\WINDOWS\system32\WLDAP32.dll 0x76ee0000 - 0x76ee5000 C:\WINDOWS\system32\rasadhlp.dll 0x777e0000 - 0x77800000 C:\WINDOWS\system32\NTMARTA.DLL 0x7e020000 - 0x7e02f000 C:\WINDOWS\system32\SAMLIB.dll 0x774b0000 - 0x775ea000 C:\WINDOWS\system32\ole32.dll 0x71ba0000 - 0x71bf7000 C:\WINDOWS\system32\NetApi32.dll 0x72f40000 - 0x72f67000 C:\WINDOWS\system32\winspool.drv 0x6d830000 - 0x6d8d8000 C:\WINDOWS\system32\DBGHELP.DLL 0x77b60000 - 0x77b68000 C:\WINDOWS\system32\VERSION.dll VM Arguments: jvm_args: -Dcatalina.home=D:\Program Files\apache-tomcat-7.0.73\tomcat1 -Dcatalina.base=D:\Program Files\apache-tomcat-7.0.73\tomcat1 -Djava.endorsed.dirs=D:\Program Files\apache-tomcat-7.0.73\tomcat1\endorsed -Djava.io.tmpdir=D:\Program Files\apache-tomcat-7.0.73\tomcat1\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=D:\Program Files\apache-tomcat-7.0.73\tomcat1\conf\logging.properties -XX:PermSize=64M -XX:MaxPermSize=256m -Xms128m -Xmx256m exit -Xms128m -Xmx256m java_command: <unknown> Launcher Type: generic Environment Variables: JAVA_HOME=C:\Program Files\Java\jdk1.7.0_15 CLASSPATH=D:\Program Files\tomcat\common\lib\servlet.jar;C:\Program Files\Java\jdk1.7.0_15\lib\dt.jar;C:\Program Files\Java\jdk1.7.0_15\lib\tools.jar; PATH=D:\Program Files\prel\site\bin;D:\Program Files\prel\bin;D:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\Java\jdk1.7.0_15\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Program Files\tomcat\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat1\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat2\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat3\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat4\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat5\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat6\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat7\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat8\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat9\bin; OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 6 Model 63 Stepping 2, GenuineIntel --------------- S Y S T E M --------------- OS: Windows Server 2003 family Build 3790 Service Pack 2 CPU:total 4 (1 cores per cpu, 1 threads per core) family 6 model 63 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, tsc Memory: 4k page, physical 4193472k(1140456k free), swap 6115224k(2295060k free) vm_info: Java HotSpot(TM) Client VM (23.7-b01) for windows-x86 JRE (1.7.0_15-b03), built on Feb 15 2013 14:01:25 by "java_re" with unknown MS VC++:1600 time: Thu Jul 11 04:46:21 2019 elapsed time: 37043 seconds

如何将错误的日期/时间输入HHVM错误日志

<div class="post-text" itemprop="text"> <p>I'm running HHVM 3.1.0 and nginx. I'm set to send errors in HHVM to it's own log file, not return them through nginx. One thing I noticed is the errors lack any type of timestamp or date /time listed, just the string of the error, here's some examples:</p> <pre><code> Warning: Invalid argument: function: not a valid callback array in /srv/http/nx/app/model/Session.php on line 57 Fatal error: Failed to initialize storage module: user (path: ) in /srv/http/nx/app/model/Session.php on line 57 Warning: Invalid argument: function: not a valid callback array </code></pre> <p>Is there a way to better format these error log entries to be more usable? At a minimum to have the date and time show up? Is there a way to pass errors back through <code>nginx</code> to log them in the way that <code>php-fpm</code> would? Here's an example of using php-fpm and getting errors in my <code>/var/log/nginx/error.log</code> (notice the nice format):</p> <pre><code> [04-Aug-2014 13:53:55 UTC] PHP Warning: Invalid argument supplied for foreach() in /srv/http/nx/app/controller/website/SEOFinds.php on line 164 </code></pre> <p>For reference, here's my HHVM config file in <code>/etc/hhvm/php.ini</code></p> <pre><code>; php options pid = /var/run/hhvm/pid date.timezone="America/New_York" ; hhvm specific hhvm.server.file_socket=/var/run/hhvm/hhvm.sock ;hhvm.server.port = 9000 hhvm.server.type = fastcgi hhvm.server.default_document = index.php hhvm.log.level = Warning hhvm.log.always_log_unhandled_exceptions = true hhvm.log.runtime_error_reporting_level = 8191 hhvm.log.use_log_file = true hhvm.log.file = /var/log/hhvm/error.log hhvm.repo.central.path = /var/run/hhvm/hhvm.hhbc hhvm.mysql.typed_results = false hhvm.eval.jit_warmup_requests = 0 </code></pre> <p>Below is my nginx location block:</p> <pre><code> location ~ \.php$ { fastcgi_buffer_size 128k; fastcgi_buffers 128 16k; fastcgi_pass unix:/var/run/hhvm/hhvm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } </code></pre> </div>

也可以从日志中抑制错误

<div class="post-text" itemprop="text"> <p>CodeIgniter 2.x still uses the classic <code>mysql</code>. We all know it's bad practice to still use it, but my job still requires me to use CodeIgniter.</p> <p>I always have my Console.app (OSX) open watching my Apache/MySQL/PHP/CodeIgniter-native error logs.</p> <p>Now I mostly have all notices/errors/etc. fixed always instantly when I see them and constantly monitor my development with Webgrind on my MAMP.</p> <p>Back to the start; I constantly have one big annoying thing each page-load PHP always gives the error about <code>mysql_pconnect</code> is going to get deprecated in the future.</p> <p>In the CodeIgniter driver the command is suppressed by <code>@</code> to not print the warnings to the screen, but it still ends up in my logs.</p> <p>Is there any viable way to except one such error specifically in either PHP code or the PHP settings?</p> <p>Locally I could recompile the whole PHP core and just remove the warning, but I would like to have the logs on our production installations rid of those warnings too :P.</p> <p>Thanks in advance!</p> </div>

如何解决cpanel服务器中的PHP错误日志导致空白屏幕php页面

<div class="post-text" itemprop="text"> <p>Good day to everyone. I found this below php coding errors in the "error_log" which is in my cpanel server root directory, causing the php page for a schoolsystem I developed to be blank screen on browsers. I have tried, all I could but not working for me.</p> <pre><code>**`BELOW IS THE ERROR_LOG CONTENT:`** [03-Dec-2016 10:17:36 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /home/xayoutys/public_html/schoolsystem/functions/connection.php:14 Stack trace: #0 /home/xayoutys/public_html/schoolsystem/setup.php(4): include() #1 {main} thrown in /home/xayoutys/public_html/schoolsystem/functions/connection.php on line 14 [03-Dec-2016 10:19:06 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /home/xayoutys/public_html/schoolsystem/functions/connection.php:14 Stack trace: #0 /home/xayoutys/public_html/schoolsystem/setup.php(4): include() #1 {main} thrown in /home/xayoutys/public_html/schoolsystem/functions/connection.php on line 14 [03-Dec-2016 10:19:21 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /home/xayoutys/public_html/schoolsystem/functions/connection.php:14 [03-Dec-2016 10:21:20 UTC] PHP Notice: Undefined index: style in /home/xayoutys/public_html/schoolsystem/setup.php on line 17 [03-Dec-2016 10:21:20 UTC] PHP Notice: Undefined index: url in /home/xayoutys/public_html/schoolsystem/setup.php on line 18 [03-Dec-2016 10:21:20 UTC] PHP Notice: Undefined index: name in /home/xayoutys/public_html/schoolsystem/setup.php on line 19 [03-Dec-2016 10:21:20 UTC] PHP Notice: Undefined index: save in /home/xayoutys/public_html/schoolsystem/setup.php on line 20 [03-Dec-2016 10:21:20 UTC] PHP Notice: Undefined index: stype in /home/xayoutys/public_html/schoolsystem/setup.php on line 21 [03-Dec-2016 10:21:20 UTC] PHP Notice: Undefined index: import in /home/xayoutys/public_html/schoolsystem/setup.php on line 23 [03-Dec-2016 10:21:20 UTC] PHP Notice: Undefined index: username in /home/xayoutys/public_html/schoolsystem/setup.php on line 24 [03-Dec-2016 10:21:20 UTC] PHP Notice: Undefined index: password in /home/xayoutys/public_html/schoolsystem/setup.php on line 25 [03-Dec-2016 10:21:20 UTC] PHP Notice: Undefined index: host in /home/xayoutys/public_html/schoolsystem/setup.php on line 26 [03-Dec-2016 10:21:20 UTC] PHP Notice: Undefined index: database in /home/xayoutys/public_html/schoolsystem/setup.php on line 27 [03-Dec-2016 10:21:20 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 262 [03-Dec-2016 10:21:20 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 262 [03-Dec-2016 10:21:20 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 278 [03-Dec-2016 10:21:20 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 278 [03-Dec-2016 10:21:20 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 288 [03-Dec-2016 10:21:20 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 288 [03-Dec-2016 10:21:20 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 298 [03-Dec-2016 10:21:20 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 298 [03-Dec-2016 10:21:20 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 308 [03-Dec-2016 10:21:20 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 308 [03-Dec-2016 10:22:52 UTC] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xayoutys/public_html/schoolsystem/functions/connection.php on line 14 [03-Dec-2016 10:22:52 UTC] PHP Notice: Undefined index: style in /home/xayoutys/public_html/schoolsystem/setup.php on line 17 [03-Dec-2016 10:22:52 UTC] PHP Notice: Undefined index: url in /home/xayoutys/public_html/schoolsystem/setup.php on line 18 [03-Dec-2016 10:22:52 UTC] PHP Notice: Undefined index: name in /home/xayoutys/public_html/schoolsystem/setup.php on line 19 [03-Dec-2016 10:22:52 UTC] PHP Notice: Undefined index: save in /home/xayoutys/public_html/schoolsystem/setup.php on line 20 [03-Dec-2016 10:22:52 UTC] PHP Notice: Undefined index: stype in /home/xayoutys/public_html/schoolsystem/setup.php on line 21 [03-Dec-2016 10:22:52 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xayoutys/public_html/schoolsystem/setup.php on line 47 [03-Dec-2016 10:22:53 UTC] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xayoutys/public_html/schoolsystem/functions/connection.php on line 14 [03-Dec-2016 10:22:53 UTC] PHP Notice: Undefined index: style in /home/xayoutys/public_html/schoolsystem/setup.php on line 17 [03-Dec-2016 10:22:53 UTC] PHP Notice: Undefined index: url in /home/xayoutys/public_html/schoolsystem/setup.php on line 18 [03-Dec-2016 10:22:53 UTC] PHP Notice: Undefined index: name in /home/xayoutys/public_html/schoolsystem/setup.php on line 19 [03-Dec-2016 10:22:53 UTC] PHP Notice: Undefined index: save in /home/xayoutys/public_html/schoolsystem/setup.php on line 20 [03-Dec-2016 10:22:53 UTC] PHP Notice: Undefined index: stype in /home/xayoutys/public_html/schoolsystem/setup.php on line 21 [03-Dec-2016 10:22:53 UTC] PHP Notice: Undefined index: import in /home/xayoutys/public_html/schoolsystem/setup.php on line 23 [03-Dec-2016 10:22:53 UTC] PHP Notice: Undefined index: username in /home/xayoutys/public_html/schoolsystem/setup.php on line 24 [03-Dec-2016 10:22:53 UTC] PHP Notice: Undefined index: password in /home/xayoutys/public_html/schoolsystem/setup.php on line 25 [03-Dec-2016 10:22:53 UTC] PHP Notice: Undefined index: host in /home/xayoutys/public_html/schoolsystem/setup.php on line 26 [03-Dec-2016 10:22:53 UTC] PHP Notice: Undefined index: database in /home/xayoutys/public_html/schoolsystem/setup.php on line 27 [03-Dec-2016 10:22:53 UTC] PHP Notice: Undefined variable: aval in /home/xayoutys/public_html/schoolsystem/setup.php on line 136 [03-Dec-2016 10:22:53 UTC] PHP Notice: Undefined variable: ain in /home/xayoutys/public_html/schoolsystem/setup.php on line 163 [03-Dec-2016 10:22:53 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 173 [03-Dec-2016 10:22:53 UTC] PHP Notice: Undefined variable: aval in /home/xayoutys/public_html/schoolsystem/setup.php on line 188 [03-Dec-2016 10:24:02 UTC] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xayoutys/public_html/schoolsystem/functions/connection.php on line 14 [03-Dec-2016 10:24:02 UTC] PHP Notice: Undefined index: import in /home/xayoutys/public_html/schoolsystem/setup.php on line 23 [03-Dec-2016 10:24:02 UTC] PHP Notice: Undefined index: username in /home/xayoutys/public_html/schoolsystem/setup.php on line 24 [03-Dec-2016 10:24:02 UTC] PHP Notice: Undefined index: password in /home/xayoutys/public_html/schoolsystem/setup.php on line 25 [03-Dec-2016 10:24:02 UTC] PHP Notice: Undefined index: host in /home/xayoutys/public_html/schoolsystem/setup.php on line 26 [03-Dec-2016 10:24:02 UTC] PHP Notice: Undefined index: database in /home/xayoutys/public_html/schoolsystem/setup.php on line 27 [03-Dec-2016 10:24:05 UTC] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xayoutys/public_html/schoolsystem/functions/connection.php on line 14 [03-Dec-2016 11:21:39 UTC] PHP Notice: Undefined index: import in /home/xayoutys/public_html/schoolsystem/setup.php on line 23 [03-Dec-2016 11:21:39 UTC] PHP Notice: Undefined index: username in /home/xayoutys/public_html/schoolsystem/setup.php on line 24 [03-Dec-2016 11:21:39 UTC] PHP Notice: Undefined index: password in /home/xayoutys/public_html/schoolsystem/setup.php on line 25 [03-Dec-2016 11:21:39 UTC] PHP Notice: Undefined index: host in /home/xayoutys/public_html/schoolsystem/setup.php on line 26 [03-Dec-2016 11:21:39 UTC] PHP Notice: Undefined index: database in /home/xayoutys/public_html/schoolsystem/setup.php on line 27 [03-Dec-2016 11:21:39 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 262 [03-Dec-2016 11:21:39 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 262 [03-Dec-2016 11:21:39 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 278 [03-Dec-2016 11:21:39 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 278 [03-Dec-2016 11:21:39 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 288 [03-Dec-2016 11:21:39 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 288 [03-Dec-2016 11:21:39 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 298 [03-Dec-2016 11:21:39 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 298 [03-Dec-2016 11:21:39 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 308 [03-Dec-2016 11:21:39 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 308 [03-Dec-2016 11:26:58 UTC] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xayoutys/public_html/schoolsystem/functions/connection.php on line 14 [03-Dec-2016 11:27:07 UTC] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xayoutys/public_html/schoolsystem/functions/connection.php on line 14 [03-Dec-2016 11:27:09 UTC] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xayoutys/public_html/schoolsystem/functions/connection.php on line 14 [03-Dec-2016 11:27:09 UTC] PHP Notice: Undefined index: style in /home/xayoutys/public_html/schoolsystem/setup.php on line 17 [03-Dec-2016 11:27:09 UTC] PHP Notice: Undefined index: url in /home/xayoutys/public_html/schoolsystem/setup.php on line 18 [03-Dec-2016 11:27:09 UTC] PHP Notice: Undefined index: name in /home/xayoutys/public_html/schoolsystem/setup.php on line 19 [03-Dec-2016 11:27:09 UTC] PHP Notice: Undefined index: save in /home/xayoutys/public_html/schoolsystem/setup.php on line 20 [03-Dec-2016 11:27:09 UTC] PHP Notice: Undefined index: stype in /home/xayoutys/public_html/schoolsystem/setup.php on line 21 [03-Dec-2016 11:27:09 UTC] PHP Notice: Undefined index: import in /home/xayoutys/public_html/schoolsystem/setup.php on line 23 [03-Dec-2016 11:27:09 UTC] PHP Notice: Undefined index: username in /home/xayoutys/public_html/schoolsystem/setup.php on line 24 [03-Dec-2016 11:27:09 UTC] PHP Notice: Undefined index: password in /home/xayoutys/public_html/schoolsystem/setup.php on line 25 [03-Dec-2016 11:27:09 UTC] PHP Notice: Undefined index: host in /home/xayoutys/public_html/schoolsystem/setup.php on line 26 [03-Dec-2016 11:27:09 UTC] PHP Notice: Undefined index: database in /home/xayoutys/public_html/schoolsystem/setup.php on line 27 [03-Dec-2016 11:27:09 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 262 [03-Dec-2016 11:27:09 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 262 [03-Dec-2016 11:27:09 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 278 [03-Dec-2016 11:27:09 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 278 [03-Dec-2016 11:27:09 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 288 [03-Dec-2016 11:27:09 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 288 [03-Dec-2016 11:27:09 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 298 [03-Dec-2016 11:27:09 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 298 [03-Dec-2016 11:27:09 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 308 [03-Dec-2016 11:27:09 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 308 [03-Dec-2016 11:27:40 UTC] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xayoutys/public_html/schoolsystem/functions/connection.php on line 14 [03-Dec-2016 11:27:40 UTC] PHP Notice: Undefined index: style in /home/xayoutys/public_html/schoolsystem/setup.php on line 17 [03-Dec-2016 11:27:40 UTC] PHP Notice: Undefined index: url in /home/xayoutys/public_html/schoolsystem/setup.php on line 18 [03-Dec-2016 11:27:40 UTC] PHP Notice: Undefined index: name in /home/xayoutys/public_html/schoolsystem/setup.php on line 19 [03-Dec-2016 11:27:40 UTC] PHP Notice: Undefined index: save in /home/xayoutys/public_html/schoolsystem/setup.php on line 20 [03-Dec-2016 11:27:40 UTC] PHP Notice: Undefined index: stype in /home/xayoutys/public_html/schoolsystem/setup.php on line 21 [03-Dec-2016 11:27:40 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xayoutys/public_html/schoolsystem/setup.php on line 47 [03-Dec-2016 11:27:41 UTC] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xayoutys/public_html/schoolsystem/functions/connection.php on line 14 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined index: style in /home/xayoutys/public_html/schoolsystem/setup.php on line 17 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined index: url in /home/xayoutys/public_html/schoolsystem/setup.php on line 18 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined index: name in /home/xayoutys/public_html/schoolsystem/setup.php on line 19 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined index: save in /home/xayoutys/public_html/schoolsystem/setup.php on line 20 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined index: stype in /home/xayoutys/public_html/schoolsystem/setup.php on line 21 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined index: import in /home/xayoutys/public_html/schoolsystem/setup.php on line 23 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined index: username in /home/xayoutys/public_html/schoolsystem/setup.php on line 24 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined index: password in /home/xayoutys/public_html/schoolsystem/setup.php on line 25 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined index: host in /home/xayoutys/public_html/schoolsystem/setup.php on line 26 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined index: database in /home/xayoutys/public_html/schoolsystem/setup.php on line 27 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined variable: aval in /home/xayoutys/public_html/schoolsystem/setup.php on line 136 [03-Dec-2016 11:27:41 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 136 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined variable: ain in /home/xayoutys/public_html/schoolsystem/setup.php on line 136 [03-Dec-2016 11:27:41 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 136 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined variable: ain in /home/xayoutys/public_html/schoolsystem/setup.php on line 136 [03-Dec-2016 11:27:41 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 136 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined variable: ain in /home/xayoutys/public_html/schoolsystem/setup.php on line 163 [03-Dec-2016 11:27:41 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 163 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined variable: aval in /home/xayoutys/public_html/schoolsystem/setup.php on line 173 [03-Dec-2016 11:27:41 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 173 [03-Dec-2016 11:27:41 UTC] PHP Notice: Undefined variable: aval in /home/xayoutys/public_html/schoolsystem/setup.php on line 188 [03-Dec-2016 11:27:41 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 188 [03-Dec-2016 11:27:59 UTC] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xayoutys/public_html/schoolsystem/functions/connection.php on line 14 [03-Dec-2016 11:27:59 UTC] PHP Notice: Undefined index: import in /home/xayoutys/public_html/schoolsystem/setup.php on line 23 [03-Dec-2016 11:27:59 UTC] PHP Notice: Undefined index: username in /home/xayoutys/public_html/schoolsystem/setup.php on line 24 [03-Dec-2016 11:27:59 UTC] PHP Notice: Undefined index: password in /home/xayoutys/public_html/schoolsystem/setup.php on line 25 [03-Dec-2016 11:27:59 UTC] PHP Notice: Undefined index: host in /home/xayoutys/public_html/schoolsystem/setup.php on line 26 [03-Dec-2016 11:27:59 UTC] PHP Notice: Undefined index: database in /home/xayoutys/public_html/schoolsystem/setup.php on line 27 [03-Dec-2016 11:28:00 UTC] PHP Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xayoutys/public_html/schoolsystem/functions/connection.php on line 14 [03-Dec-2016 21:09:01 UTC] PHP Notice: Undefined index: style in /home/xayoutys/public_html/schoolsystem/setup.php on line 17 [03-Dec-2016 21:09:01 UTC] PHP Notice: Undefined index: url in /home/xayoutys/public_html/schoolsystem/setup.php on line 18 [03-Dec-2016 21:09:01 UTC] PHP Notice: Undefined index: name in /home/xayoutys/public_html/schoolsystem/setup.php on line 19 [03-Dec-2016 21:09:01 UTC] PHP Notice: Undefined index: save in /home/xayoutys/public_html/schoolsystem/setup.php on line 20 [03-Dec-2016 21:09:01 UTC] PHP Notice: Undefined index: stype in /home/xayoutys/public_html/schoolsystem/setup.php on line 21 [03-Dec-2016 21:09:01 UTC] PHP Notice: Undefined index: import in /home/xayoutys/public_html/schoolsystem/setup.php on line 23 [03-Dec-2016 21:09:01 UTC] PHP Notice: Undefined index: username in /home/xayoutys/public_html/schoolsystem/setup.php on line 24 [03-Dec-2016 21:09:01 UTC] PHP Notice: Undefined index: password in /home/xayoutys/public_html/schoolsystem/setup.php on line 25 [03-Dec-2016 21:09:01 UTC] PHP Notice: Undefined index: host in /home/xayoutys/public_html/schoolsystem/setup.php on line 26 [03-Dec-2016 21:09:01 UTC] PHP Notice: Undefined index: database in /home/xayoutys/public_html/schoolsystem/setup.php on line 27 [03-Dec-2016 21:09:01 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 262 [03-Dec-2016 21:09:01 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 262 [03-Dec-2016 21:09:01 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 278 [03-Dec-2016 21:09:01 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 278 [03-Dec-2016 21:09:01 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 288 [03-Dec-2016 21:09:01 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 288 [03-Dec-2016 21:09:01 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 298 [03-Dec-2016 21:09:01 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 298 [03-Dec-2016 21:09:01 UTC] PHP Notice: Undefined variable: val in /home/xayoutys/public_html/schoolsystem/setup.php on line 308 [03-Dec-2016 21:09:01 UTC] PHP Notice: Trying to get property of non-object in /home/xayoutys/public_html/schoolsystem/setup.php on line 308 </code></pre> <p><strong>CONNECTION.PHP Code:</strong></p> <pre><code>&lt;?php $aut_host = 'localhost';//e.g localhost $aut_user = 'xayoutys_sman'; $aut_pass = 'school009#'; $aut_db = 'xayoutys_sman'; //$connect = mysql_pconnect('localhost', 'root', ''); //mysql_select_db('xsman'); /*$connect = mysql_pconnect('127.0.0.1', 'kokotrad_sman', 'cool'); $xtzone = mysql_query("SET time_zone = 'Africa/Lagos'"); mysql_select_db('kokotrad_sman');*/ $connect = mysqli_connect( 'localhost', 'xayoutys_sman', 'school009#'); $xtzone = mysql_query("SET time_zone = 'Africa/Lagos'"); mysql_select_db('xayoutys_sman'); if(@$page != 'setup') { //school type $qtype = mysql_query("select type from type where id = 1"); $qtype_row = mysql_fetch_row($qtype); $type = $qtype_row[0]; //sms sender id $xsendq = mysql_query("select sender from smsapi where id = 1"); if(mysql_num_rows($xsendq) &gt; 0) { $xsendq_row = mysql_fetch_row($xsendq); $xsender = $xsendq_row[0]; } //get style $cstyle = mysql_query("select style, school_name, url, logo_ext from info where id = 1"); $cstyle_row = mysql_fetch_row($cstyle); $xcstyle = $cstyle_row[0]; $csch_name = $cstyle_row[1]; $curlx = $cstyle_row[2]; $clogo_ext = $cstyle_row[3]; if($type == 'university') { $tl = 'Lecturer'; $cac = 'Association'; $cco = 'Course'; } elseif($type == 'school') { $tl = 'Teacher'; $cac = 'Club'; $cco = 'Subject'; } }//setup ?&gt; </code></pre> <p><strong>SETUP.PHP CODES</strong></p> <pre><code>&lt;?php $page = 'setup'; include('functions/connection.php'); include('functions/error_success.php'); include('objects/query.php'); include('objects/upload_download.php'); //check stat $check = new select(); $check-&gt;pick('info', 'stat', 'id', "1", '', 'record', '', '', '=', ''); if($check-&gt;count &gt; 0) { $check_row = mysql_fetch_row($check-&gt;query); } $style = $_POST['style']; $url = $_POST['url']; $name = $_POST['name']; $save = $_POST['save']; $stype = $_POST['stype']; $import = $_POST['import']; $username = $_POST['username']; $password = $_POST['password']; $host = $_POST['host']; $database = $_POST['database']; if($import) { $val = new validate(); $val-&gt;valid("$database,$username,$host"); if($val-&gt;error_code &lt; 1) { // Name of the file $filename = 'sman.sql'; // MySQL host $mysql_host = $host; // MySQL username $mysql_username = $username; // MySQL password $mysql_password = $password; // Database name $mysql_database = $database; // Connect to MySQL server mysql_connect($mysql_host, $mysql_username, $mysql_password) or die('Error connecting to MySQL server: ' . mysql_error()); // Select database mysql_select_db($mysql_database) or die('Error selecting MySQL database: ' . mysql_error()); </code></pre> </div>

Apache错误日志显示'/ usr / sbin / httpd -D FOREGROUND'错误

<div class="post-text" itemprop="text"> <p>When i try to load my local server having name "local.test.com" the browser shows "Safari can't find the server" and the apache error log shows these outputs</p> <pre><code>AH00163: Apache/2.4.18 (Unix) configured -- resuming normal operations AH00094: Command line : '/usr/sbin/httpd -D FOREGROUND </code></pre> <p>Does anyone knows why this is happening.? What the last line of output really means ?? When i tried 127.0.0.1 as the url my project login page code is displayed on the browser.</p> <p><strong>Note that i've changed my DocumentRoot</strong> from "/Library/WebServer/Documents" to "/Users/myaccount/webroot/projectname"</p> <p>My System Os:- OSX El Capitan<br> Apache Version: 2.4.18<br> Php version: 5.5.34<br> Mysql version: 5.7.13</p> </div>

PDO错误是否出现在Apache的错误日志中?

<div class="post-text" itemprop="text"> <p>I'm learning PHP and have a question.</p> <p>If I use the following code to connect to a database, will possible errors appear inside Apache's error log?</p> <pre><code> $con = new PDO('mysql:host='.$h.';dbname='.$dbn.';charset=utf8', $u, $p); $con-&gt;setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT); $con-&gt;setAttribute(PDO::ATTR_EMULATE_PREPARES,false); </code></pre> <p>If they do appear there, what's the reason to use try and catches?</p> <p>Thanks.</p> </div>

PHP使用pdo执行mysql的插入指令以后不报错,但是数据库里没数据

请问一下有没有大佬遇到过PHP使用pdo执行mysql的插入指令以后不报错,但是数据库里没数据,将执行的sql指令echo出来以后放到mysql里直接执行的话是可以直行的,而且跳过了PHP执行的插入条数(比如之前的Id是1,然后PHP执行了10次,此时mysql里看不到数据,然后我把执行的sql语句放到mysql里直接执行,成功插入数据,且Id为12) 具体代码如下: ``` function insertdata($sheet,$columns,$values){ $columns = implode(",", $columns); $values = implode("','", $values); try{ $this->pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sqlstr = "Insert into $sheet ($columns) values ('$values');"; echo $sqlstr; print_r($this->pdo->exec($sqlstr)); }catch(PDOException $e){ if($e->getcode()=="42S22"){ //没有该字段 echo "No Column"; } } } ``` 调用函数、 ``` $column = array("BlockId","PlantName"); $values = array("12",“123”); $this->sql->insertdata("house".$this->Id,$column,$values); ``` 执行结果(网页显示) Insert into house123 (BlockId,PlantName) values ('1','123');1 最后是有一个1的,说明受影响函数为1,但是从数据库里看就是没数据。 将执行结果去掉尾部的1粘贴到mysql运行,可以添加数据,且Id与已有数据不相连,中间会间隔上述php代码执行过的次数

Laravel在CentOS上获得内部服务器错误(500)

<div class="post-text" itemprop="text"> <p>During deploy laravel project on Centos, I have gotten this error.</p> <pre><code>PHP Fatal error: Class 'PDO' not found in /var/www/html/&lt;laravel_project_name&gt;/config/database.php on line 16 </code></pre> <p>I have enabled pdo extension with editing php.ini file.</p> <pre><code>extension=pdo.so extension=pdo_sqlite.so extension=pdo_mysql.so extension=sqlite.so </code></pre> <p>Please help me to fix this error. Regards.</p> </div>

大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了

大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

我以为我学懂了数据结构,直到看了这个导图才发现,我错了

数据结构与算法思维导图

String s = new String(" a ") 到底产生几个对象?

老生常谈的一个梗,到2020了还在争论,你们一天天的,哎哎哎,我不是针对你一个,我是说在座的各位都是人才! 上图红色的这3个箭头,对于通过new产生一个字符串(”宜春”)时,会先去常量池中查找是否已经有了”宜春”对象,如果没有则在常量池中创建一个此字符串对象,然后堆中再创建一个常量池中此”宜春”对象的拷贝对象。 也就是说准确答案是产生了一个或两个对象,如果常量池中原来没有 ”宜春” ,就是两个。...

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

Linux面试题(2020最新版)

文章目录Linux 概述什么是LinuxUnix和Linux有什么区别?什么是 Linux 内核?Linux的基本组件是什么?Linux 的体系结构BASH和DOS之间的基本区别是什么?Linux 开机启动过程?Linux系统缺省的运行级别?Linux 使用的进程间通信方式?Linux 有哪些系统日志文件?Linux系统安装多个桌面环境有帮助吗?什么是交换空间?什么是root帐户什么是LILO?什...

Linux命令学习神器!命令看不懂直接给你解释!

大家都知道,Linux 系统有非常多的命令,而且每个命令又有非常多的用法,想要全部记住所有命令的所有用法,恐怕是一件不可能完成的任务。 一般情况下,我们学习一个命令时,要么直接百度去搜索它的用法,要么就直接用 man 命令去查看守冗长的帮助手册。这两个都可以实现我们的目标,但有没有更简便的方式呢? 答案是必须有的!今天给大家推荐一款有趣而实用学习神器 — kmdr,让你解锁 Linux 学习新姿势...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

史上最全的 python 基础知识汇总篇,没有比这再全面的了,建议收藏

网友们有福了,小编终于把基础篇的内容全部涉略了一遍,这是一篇关于基础知识的汇总的文章,请朋友们收下,不用客气,不过文章篇幅肯能会有点长,耐心阅读吧爬虫(七十)多进程multiproces...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

85后蒋凡:28岁实现财务自由、34岁成为阿里万亿电商帝国双掌门,他的人生底层逻辑是什么?...

蒋凡是何许人也? 2017年12月27日,在入职4年时间里,蒋凡开挂般坐上了淘宝总裁位置。 为此,时任阿里CEO张勇在任命书中力赞: 蒋凡加入阿里,始终保持创业者的冲劲,有敏锐的...

总结了 150 余个神奇网站,你不来瞅瞅吗?

原博客再更新,可能就没了,之后将持续更新本篇博客。

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

新一代神器STM32CubeMonitor介绍、下载、安装和使用教程

关注、星标公众号,不错过精彩内容作者:黄工公众号:strongerHuang最近ST官网悄悄新上线了一款比较强大的工具:STM32CubeMonitor V1.0.0。经过我研究和使用之...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

大学一路走来,学习互联网全靠这几个网站,最终拿下了一把offer

大佬原来都是这样炼成的

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

什么时候跳槽,为什么离职,你想好了么?

都是出来打工的,多为自己着想

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

你期望月薪4万,出门右拐,不送,这几个点,你也就是个初级的水平

先来看几个问题通过注解的方式注入依赖对象,介绍一下你知道的几种方式@Autowired和@Resource有何区别说一下@Autowired查找候选者的...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

立即提问
相关内容推荐