首页 \ 问答 \ 我安装了Eclipse IMP,eclipse ide无法打开(I installed Eclipse IMP, eclipse ide can't open)

我安装了Eclipse IMP,eclipse ide无法打开(I installed Eclipse IMP, eclipse ide can't open)

我在eclipse上安装IMP项目,当我重启Eclipse,OPS .....

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000000, pid=13303, tid=3020905360
#
# JRE version: 6.0_16-b01
# Java VM: Java HotSpot(TM) Client VM (14.2-b01 mixed mode, sharing linux-x86 )
# Problematic frame:
# C  0x00000000
#
# An error report file with more information is saved as:
# /opt/DEVELOPMENT/eclipse-galileo-SR1/hs_err_pid13303.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted

---------------系统细节---------------

IDE:Eclipse Ganymede

OS:5.0

uname:Linux 2.6.28-17-generic#58-Ubuntu SMP Tue Dec 1 18:57:07 UTC 2009 i686 libc:glibc 2.9 NPTL 2.9 rlimit:STACK 8192k,CORE 0k,NPROC infinity,NOFILE 1024,AS infinity load average :1.28 1.18 1.14

CPU:总共2个(每个CPU 2个核心,每个核心1个线程)系列6型号23步进10,cmov,cx8,fxsr,mmx,sse,sse2,sse3,ssse3,sse4.1

内存:4k页,物理2022412k(207344k免费),交换5919912k(5835804k免费)

vm_info:适用于linux-x86 JRE的Java HotSpot(TM)客户端VM(14.2-b01)(1.6.0_16-b01),建于2009年7月31日06:19:30,“java_re”与gcc 3.2.1-7a(J2SE)发布)

时间:2009年12月8日星期二10:51:33经过时间:28秒


I installed IMP project on eclipse, when i restart Eclipse, OPS.....

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000000, pid=13303, tid=3020905360
#
# JRE version: 6.0_16-b01
# Java VM: Java HotSpot(TM) Client VM (14.2-b01 mixed mode, sharing linux-x86 )
# Problematic frame:
# C  0x00000000
#
# An error report file with more information is saved as:
# /opt/DEVELOPMENT/eclipse-galileo-SR1/hs_err_pid13303.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted

--------------- S Y S T E M DETAIL ---------------

IDE: Eclipse Ganymede

OS:5.0

uname:Linux 2.6.28-17-generic #58-Ubuntu SMP Tue Dec 1 18:57:07 UTC 2009 i686 libc:glibc 2.9 NPTL 2.9 rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity load average:1.28 1.18 1.14

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1

Memory: 4k page, physical 2022412k(207344k free), swap 5919912k(5835804k free)

vm_info: Java HotSpot(TM) Client VM (14.2-b01) for linux-x86 JRE (1.6.0_16-b01), built on Jul 31 2009 06:19:30 by "java_re" with gcc 3.2.1-7a (J2SE release)

time: Tue Dec 8 10:51:33 2009 elapsed time: 28 seconds


原文:https://stackoverflow.com/questions/1865686
更新时间:2023-08-09 08:08

最满意答案

如果您使用的是旧版本的PHP和pthreads(<PHP7),那么线程将在没有正确设置标准输出的情况下运行(因为FPM和Zend无法设置它)。

最新版本的pthreads(用于PHP7)禁止在CLI以外的任何地方执行。

在应用程序的前端没有办法明智地使用线程。

考虑一下创建合理数量的线程的控制器的情况,假设有8个。如果100个客户机同时请求控制器,那么您将要求硬件同时执行800个内核线程,并且只有少量流量。

这种架构无法扩展。

你一直使用异步这个词来代替并行,这让我觉得你可能根本不需要线程。

如果手头的任务是发出一些异步的Web请求,那么最好的办法是使用非阻塞I / O, 而不是线程

如果你正确地使用了异步这个词,并且实际上意味着并行,那么你将需要为应用程序的那些部分找到另一种方法,这些部分需要与Web服务器一起扩展,以及那些需要并行并发的应用程序部分。相互沟通。


If you are using an old version of PHP and pthreads (< PHP7), then the threads will run without having stdout set correctly (because FPM and Zend have no way to set it).

The most recent versions of pthreads (for PHP7) prohibit execution anywhere but CLI.

There is no way to use threads sensibly at the frontend of your application.

Consider the case of a controller that creates a reasonable number of threads, let's say 8. If 100 clients request the controller concurrently, you will be asking your hardware to execute 800 kernel threads concurrently, with a tiny amount of traffic.

This kind of architecture cannot scale.

You have persistently used the word asynchronous in place of parallel, this makes me think that you probably don't want threads at all.

If the task at hand is to make some asynchronous web requests, then the best way to do that is with non-blocking I/O, not threads.

If you are using the word asynchronous incorrectly, and do actually mean parallel, then you will need to find another way for those parts of the application that are required to scale with the web server, and those parts of the application that require parallel concurrency to communicate with each other.

相关问答

更多
  • 我使用php-fpm中的ping.path指令来检查它是否正常工作。 并配置它在nginx.conf(我不知道它是否是你的设置) location /ping { access_log off; allow 127.0.0.1; deny all; root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fa ...
  • 你可以得到SAPI php_sapi_name - 返回Web服务器和PHP之间的接口类型 以小写字符串的形式返回接口类型。 尽管并不详尽,但可能的返回值包括aolserver,apache,apache2filter,apache2handler,caudium,cgi(直到PHP 5.3),cgi-fcgi,cli,continuity,embed,isapi,litespeed,milter,nsapi,phttpd,pi3web,roxen, thttpd,tux和webjames。 对于状态以及提 ...
  • 从配置文件的手册页: 如果存在php-SAPI.ini (其中SAPI是正在使用的SAPI,例如, php-cli.ini或php-apache.ini ),则使用它而不是php.ini 。 可以使用php_sapi_name()确定SAPI名称。 From the manual page for configuration files: If php-SAPI.ini exists (where SAPI is the SAPI in use, so, for example, php-cli.ini o ...
  • 这是一个很好的问题,因为在多数线程或事件驱动的服务应用程序和多进程服务应用程序之间,大多数容器体系结构的覆盖范围都存在一个重要区别。 多线程和事件驱动的服务应用程序可以通过一个进程同时处理多个服务请求。 多进程服务应用程序不是。 Kubernetes工作负载管理机制对于给定服务所面临的真实请求并发级别是完全不可知的,因为不同的并发速率本身不会对自动化工作负载调整或扩展产生任何影响。 但是,潜在的假设是,给定的部署单元 - 一个pod能够同时处理多个请求。 几乎所有部署模型中的PHP都是多进程的。 它需要多个 ...
  • 自php 5.3.9以来,php-fpm中有一个新的设置,'security.limit_extensions',它限制了php-fpm将执行的文件。 默认为'.php',因此不会执行'malicious.jpg'。 There's a new setting in php-fpm since php 5.3.9, 'security.limit_extensions', that limits which files php-fpm will execute. The default is '.php', ...
  • 您可以使用-f标志来跟踪这样的子进程: strace -f $(pidof php-fpm | sed 's/\([0-9]*\)/\-p \1/g') You can use the -f flag to trace child processes like this: strace -f $(pidof php-fpm | sed 's/\([0-9]*\)/\-p \1/g')
  • 根据php-fpm官方网站: PHP-FPM(FastCGI Process Manager)是一种替代的PHP FastCGI实现,其中一些附加功能对任何大小的站点都有用,尤其是更繁忙的站点。 These features include: 自适应过程产卵(新!) 基本统计数据(ala Apache的mod_status)(新!) 高级流程管理,优雅的停止/启动 能够使用不同的uid / gid / chroot / environment和不同的php.ini启动worker(替换safe_mode) ...
  • 如果您使用的是旧版本的PHP和pthreads(
  • 是的,可以借助此处描述的解决方法。 Yes, it is possible with the help of a workaround described here.
  • 问题是mysqli对象不适合在多个线程中使用,你想为你启动的每个线程创建一个MySQLi实例,所以每个线程都有一个唯一的连接。

相关文章

更多

最新问答

更多
  • python的访问器方法有哪些
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。
  • 响应navi重叠h1和nav上的h1链接不起作用(Responsive navi overlaps h1 and navi links on h1 isn't working)
  • 在C中读取文件:“r”和“a +”标志的不同行为(Reading a File in C: different behavior for “r” and “a+” flags)
  • NFC提供什么样的带宽?(What Kind of Bandwidth does NFC Provide?)
  • 元素上的盒子阴影行为(box-shadow behaviour on elements)
  • Laravel检查是否存在记录(Laravel Checking If a Record Exists)
  • 设置base64图像的大小javascript - angularjs(set size of a base64 image javascript - angularjs)
  • 想学Linux 运维 深圳有哪个培训机构好一点
  • 为什么有时不需要在lambda中捕获一个常量变量?(Why is a const variable sometimes not required to be captured in a lambda?)
  • 在Framework 3.5中使用服务器标签<%=%>设置Visible属性(Set Visible property with server tag <%= %> in Framework 3.5)
  • AdoNetAppender中的log4net连接类型无效(log4net connection type invalid in AdoNetAppender)
  • 错误:发送后无法设置标题。(Error: Can't set headers after they are sent. authentication system)
  • 等待EC2实例重启(Wait for an EC2 instance to reboot)
  • 如何在红宝石中使用正则表达式?(How to do this in regex in ruby?)
  • 使用鼠标在OpenGL GLUT中绘制多边形(Draw a polygon in OpenGL GLUT with mouse)
  • 江民杀毒软件的KSysnon.sys模块是什么东西?
  • 处理器在传递到add_xpath()或add_value()时调用了什么顺序?(What order are processors called when passed into add_xpath() or add_value()?)
  • sp_updatestats是否导致SQL Server 2005中无法访问表?(Does sp_updatestats cause tables to be inaccessible in SQL Server 2005?)
  • 如何创建一个可以与持续运行的服务交互的CLI,类似于MySQL的shell?(How to create a CLI that can interact with a continuously running service, similar to MySQL's shell?)
  • AESGCM解密失败的MAC(AESGCM decryption failing with MAC)
  • SQL查询,其中字段不包含$ x(SQL Query Where Field DOES NOT Contain $x)
  • PerSession与PerCall(PerSession vs. PerCall)
  • C#:有两个构造函数的对象:如何限制哪些属性设置在一起?(C#: Object having two constructors: how to limit which properties are set together?)
  • 平衡一个精灵(Balancing a sprite)
  • n2cms Asp.net在“文件”菜单上给出错误(文件管理器)(n2cms Asp.net give error on Files menu (File Manager))
  • Zurb Foundation 4 - 嵌套网格对齐问题(Zurb Foundation 4 - Nested grid alignment issues)
  • 湖北京山哪里有修平板计算机的